public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 7/7] board/ti/dra7xx: add support for parallel NAND
Date: Wed, 16 Jul 2014 16:20:58 -0400	[thread overview]
Message-ID: <20140716202058.GR1847@bill-the-cat> (raw)
In-Reply-To: <1404500717-775-8-git-send-email-pekon@ti.com>

On Sat, Jul 05, 2014 at 12:35:17AM +0530, Pekon Gupta wrote:

> This patch adds support for x16 NAND device (MT29F2G16AAD) connected to GPMC
> chip-select present on DRA7xx EVM.
> On this board, GPMC_WPN and NAND_BOOTn are controlled by DIP switch,
> So following board settings are required for NAND device detection:
>   SW5.9 (GPMC_WPN) = LOW
>   SW5.1 (NAND_BOOTn) = HIGH

First, again, I don't like moving towards NAND being the default assumed
present storage and making QSPI harder to use.  Second, I forgot about
this earlier but for the record and per later emails, we should just use
CONFIG_CMD_NAND rather than CONFIG_NAND.

> index 8d0a0eb..9e6a565 100644
> --- a/include/configs/dra7xx_evm.h
> +++ b/include/configs/dra7xx_evm.h
> @@ -14,7 +14,7 @@
>  
>  #define CONFIG_DRA7XX
>  
> -#ifndef CONFIG_QSPI_BOOT
> +#if !defined(CONFIG_QSPI_BOOT) && !defined(CONFIG_NAND)
>  /* MMC ENV related defines */
>  #define CONFIG_ENV_IS_IN_MMC

We want to keep the default env location to be on the eMMC.

> +/* NAND: SPL related configs */
> +#if defined(CONFIG_SPL_NAND_SUPPORT)
> +  /* NAND: SPL falcon mode configs */
> +  #ifdef CONFIG_SPL_OS_BOOT
> +    #define CONFIG_CMD_SPL_NAND_OFS		0x00080000 /* os-boot params*/
> +    #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
> +    #define CONFIG_CMD_SPL_WRITE_SIZE		0x2000
> +  #endif
> +#endif

No leading spaces.

Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140716/ae61919e/attachment.pgp>

  reply	other threads:[~2014-07-16 20:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-04 19:05 [U-Boot] [PATCH v1 0/7] TI: armv7: add parallel NAND support Pekon Gupta
2014-07-04 19:05 ` [U-Boot] [PATCH v1 1/7] TI: armv7: move board specific NAND configs out from ti_armv7_common.h and ti_am335x_common.h Pekon Gupta
2014-07-14 21:30   ` Tom Rini
2014-07-04 19:05 ` [U-Boot] [PATCH v1 2/7] board/ti/am335x: add support for beaglebone NAND cape Pekon Gupta
2014-07-16 20:02   ` Tom Rini
2014-07-21  6:12     ` Gupta, Pekon
2014-07-04 19:05 ` [U-Boot] [PATCH v1 3/7] arm: lib: continue board_init_r even if valid flash device is not detected Pekon Gupta
2014-07-16 20:07   ` Tom Rini
2014-07-04 19:05 ` [U-Boot] [PATCH v1 4/7] board/ti/am335x: add support for beaglebone NOR Cape Pekon Gupta
2014-07-16 20:06   ` Tom Rini
2014-07-21 10:27     ` Gupta, Pekon
2014-07-04 19:05 ` [U-Boot] [PATCH v1 5/7] board/ti/am335x: update configs for parallel NAND Pekon Gupta
2014-07-04 19:05 ` [U-Boot] [PATCH v1 6/7] board/ti/am43xx: add support " Pekon Gupta
2014-07-16 20:14   ` Tom Rini
2014-07-04 19:05 ` [U-Boot] [PATCH v1 7/7] board/ti/dra7xx: " Pekon Gupta
2014-07-16 20:20   ` Tom Rini [this message]
2014-07-17 10:59     ` Gupta, Pekon
2014-07-17 12:57       ` Tom Rini
2014-07-06  7:35 ` [U-Boot] [PATCH v1 0/7] TI: armv7: add parallel NAND support Igor Grinberg
2014-07-07  6:35   ` Gupta, Pekon

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=20140716202058.GR1847@bill-the-cat \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.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