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/hawkboard.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/hawkboard.h')
-rw-r--r-- | include/configs/hawkboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/hawkboard.h b/include/configs/hawkboard.h index c0e3ed3..8d27590 100644 --- a/include/configs/hawkboard.h +++ b/include/configs/hawkboard.h @@ -63,6 +63,9 @@ #define CONFIG_SPL_FRAMEWORK #define CONFIG_SPL_BOARD_INIT #define CONFIG_SPL_NAND_SUPPORT +#define CONFIG_SPL_NAND_BASE +#define CONFIG_SPL_NAND_DRIVERS +#define CONFIG_SPL_NAND_ECC #define CONFIG_SPL_NAND_SIMPLE #define CONFIG_SPL_LIBGENERIC_SUPPORT /* for udelay and __div64_32 for NAND */ #define CONFIG_SPL_SERIAL_SUPPORT |