diff options
author | Scott Wood <scottwood@freescale.com> | 2012-09-20 19:09:07 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2012-11-26 15:41:25 -0600 |
commit | 6f2f01b9f30c390f216a065c8673c2c6933c0cbf (patch) | |
tree | f4f47699296d166f29ac955f7f05d2d22e3a8f5e /include/configs/am3517_crane.h | |
parent | 94a45bb19737435dfeafdb60e6fe765af3dc62f8 (diff) | |
download | u-boot-imx-6f2f01b9f30c390f216a065c8673c2c6933c0cbf.zip u-boot-imx-6f2f01b9f30c390f216a065c8673c2c6933c0cbf.tar.gz u-boot-imx-6f2f01b9f30c390f216a065c8673c2c6933c0cbf.tar.bz2 |
spl/nand: introduce CONFIG_SPL_NAND_DRIVERS, _BASE, and _ECC.
Some small SPLs do not use nand_base.c, and a subset of those also
require a special driver. Some SPLs need software ECC but others can't
fit it.
All existing boards that specify CONFIG_SPL_NAND_SUPPORT have these
symbols added to preserve existing behavior.
Signed-off-by: Scott Wood <scottwood@freescale.com>
--
v2: use positive logic for including bits of NAND, rather than
a MINIMAL symbol that excludes things.
Diffstat (limited to 'include/configs/am3517_crane.h')
-rw-r--r-- | include/configs/am3517_crane.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h index 20a3df5..e1ad1e5 100644 --- a/include/configs/am3517_crane.h +++ b/include/configs/am3517_crane.h @@ -337,6 +337,9 @@ #define CONFIG_SPL_FAT_SUPPORT #define CONFIG_SPL_SERIAL_SUPPORT #define CONFIG_SPL_NAND_SUPPORT +#define CONFIG_SPL_NAND_BASE +#define CONFIG_SPL_NAND_DRIVERS +#define CONFIG_SPL_NAND_ECC #define CONFIG_SPL_POWER_SUPPORT #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds" |