mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/2] mxs: mx28evk: add nand device
Date: Wed, 31 Oct 2012 08:37:47 +0100	[thread overview]
Message-ID: <20121031073747.GK1641@pengutronix.de> (raw)
In-Reply-To: <1351606931-12815-1-git-send-email-w.sang@pengutronix.de>

On Tue, Oct 30, 2012 at 03:22:10PM +0100, Wolfram Sang wrote:
> While flash layout may be custom, at least the nand0-device is good to
> have.
> 
> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>

Applied, thanks

Sascha

> ---
>  arch/arm/boards/freescale-mx28-evk/mx28-evk.c |   20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/arch/arm/boards/freescale-mx28-evk/mx28-evk.c b/arch/arm/boards/freescale-mx28-evk/mx28-evk.c
> index 7cd61f9..0fbb229 100644
> --- a/arch/arm/boards/freescale-mx28-evk/mx28-evk.c
> +++ b/arch/arm/boards/freescale-mx28-evk/mx28-evk.c
> @@ -109,6 +109,23 @@ static const uint32_t mx28evk_pads[] = {
>  	LCD_RESET_GPIO | VE_3_3V | GPIO_OUT | GPIO_VALUE(0),
>  	/* backlight  */
>  	PWM2_GPIO | VE_3_3V | STRENGTH(S4MA) | SE | VE,
> +
> +	/* GPMI-NAND (blocks mmc1 for now) */
> +	GPMI_D0 | VE_3_3V,
> +	GPMI_D1 | VE_3_3V,
> +	GPMI_D2 | VE_3_3V,
> +	GPMI_D3 | VE_3_3V,
> +	GPMI_D4 | VE_3_3V,
> +	GPMI_D5 | VE_3_3V,
> +	GPMI_D6 | VE_3_3V,
> +	GPMI_D7 | VE_3_3V,
> +	GPMI_READY0 | VE_3_3V,	/* external PU */
> +	GPMI_CE0N | VE_3_3V, 	/* external PU */
> +	GPMI_RDN | VE_3_3V,
> +	GPMI_WRN | VE_3_3V,
> +	GPMI_ALE | VE_3_3V,
> +	GPMI_CLE | VE_3_3V,
> +	GPMI_RESETN,		/* act as WP, external PU */
>  };
>  
>  static struct mxs_mci_platform_data mci_pdata = {
> @@ -239,6 +256,9 @@ static int mx28_evk_devices_init(void)
>  	add_generic_device("fec_imx", 0, NULL, IMX_FEC0_BASE, 0x4000,
>  			   IORESOURCE_MEM, &fec_info);
>  
> +	add_generic_device("mxs_nand", 0, NULL, MXS_GPMI_BASE, 0x2000,
> +			   IORESOURCE_MEM, NULL);
> +
>  	return 0;
>  }
>  device_initcall(mx28_evk_devices_init);
> -- 
> 1.7.10.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

      parent reply	other threads:[~2012-10-31  7:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30 14:22 Wolfram Sang
2012-10-30 14:22 ` [PATCH 2/2] configs: mx28evk: add NAND support Wolfram Sang
2012-10-31  7:37 ` 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=20121031073747.GK1641@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=w.sang@pengutronix.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