mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Teresa Gámez" <t.gamez@phytec.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ARM: OMAP: PCM051: Remove spi platform data
Date: Mon, 26 Aug 2013 09:02:12 +0200	[thread overview]
Message-ID: <20130826070212.GC30088@pengutronix.de> (raw)
In-Reply-To: <1377499437-8738-1-git-send-email-t.gamez@phytec.de>

On Mon, Aug 26, 2013 at 08:43:57AM +0200, Teresa Gámez wrote:
> SPI NOR flash can be detected by driver so no platform data
> is necessary.
> 
> Signed-off-by: Teresa Gámez <t.gamez@phytec.de>

Applied, thanks

Sascha

> ---
>  arch/arm/boards/pcm051/board.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm/boards/pcm051/board.c b/arch/arm/boards/pcm051/board.c
> index 1993f34..4a740c8 100644
> --- a/arch/arm/boards/pcm051/board.c
> +++ b/arch/arm/boards/pcm051/board.c
> @@ -66,11 +66,6 @@ static int pcm051_mem_init(void)
>  }
>  mem_initcall(pcm051_mem_init);
>  
> -static struct flash_platform_data pcm051_spi_flash = {
> -	.name	= "m25p",
> -	.type	= "w25q64",
> -};
> -
>  /*
>  * SPI Flash works at 80Mhz however the SPI controller runs with 48MHz.
>  * So setup Max speed to be less than the controller speed.
> @@ -78,7 +73,6 @@ static struct flash_platform_data pcm051_spi_flash = {
>  static struct spi_board_info pcm051_spi_board_info[] = {
>  	{
>  		.name		= "m25p80",
> -		.platform_data	= &pcm051_spi_flash,
>  		.max_speed_hz	= 24000000,
>  		.bus_num	= 0,
>  		.chip_select	= 0,
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2013-08-26  7:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26  6:43 Teresa Gámez
2013-08-26  7:02 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130826070212.GC30088@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=t.gamez@phytec.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox