[U-Boot] [PATCH 1/2] mtd: nand: omap_gpmc: Add CONFIG_SYS_NAND_USE_READY to enable ready/busy
Scott Wood
scottwood at freescale.com
Wed Nov 12 21:54:33 CET 2014
On Wed, 2014-11-12 at 11:53 +0100, Stefan Roese wrote:
> By defining CONFIG_SYS_NAND_USE_READY the GPMC NAND driver makes
> use of the ready pin / signal for busy / ready detection. This function
> is already available but currently only used in SPL. I don't see a reason
> to not use it in the main U-Boot as well. As it increases the NAND
> performance.
>
> I'm making it configurable, so that boards that might now have this pin
> connected are still supported.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Tom Rini <trini at ti.com>
> Cc: Scott Wood <scottwood at freescale.com>
> Cc: Roger Meier <r.meier at siemens.com>
> Cc: Samuel Egli <samuel.egli at siemens.com>
> ---
> README | 5 +++++
> drivers/mtd/nand/omap_gpmc.c | 20 +++++++++++++++++---
> 2 files changed, 22 insertions(+), 3 deletions(-)
>
> diff --git a/README b/README
> index c3a9dfc..420c14b 100644
> --- a/README
> +++ b/README
> @@ -4731,6 +4731,11 @@ Low Level (hardware related) configuration options:
> - drivers/mtd/nand/ndfc.c
> - drivers/mtd/nand/mxc_nand.c
>
> +- CONFIG_SYS_NAND_USE_READY
> + Defined if a ready/busy pin is available on this board
> + which can be used to determine the state of the NAND
> + chip. Currently used on the OMAP/AM33xx NAND driver.
> +
New symbols should be done in kconfig.
Is this really something that ought to be a generic symbol, rather than
OMAP-specific?
-Scott
More information about the U-Boot
mailing list