diff options
author | Scott Wood <scottwood@freescale.com> | 2012-01-12 19:42:58 -0600 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2012-01-26 16:09:06 -0600 |
commit | c17834749279b02f31c1d9ce5ca8427b795bb90d (patch) | |
tree | 36882f14651882379cbfaca64bf46e9a1b08cce5 /include | |
parent | 578931b34d0a26974f14640fa4ec3aadeb2145cd (diff) | |
download | u-boot-imx-c17834749279b02f31c1d9ce5ca8427b795bb90d.zip u-boot-imx-c17834749279b02f31c1d9ce5ca8427b795bb90d.tar.gz u-boot-imx-c17834749279b02f31c1d9ce5ca8427b795bb90d.tar.bz2 |
nand/fsl_elbc: Convert to self-init
This driver doesn't yet make use of the added flexibility (not that that
should stop anyone from converting...), but it will with the in-progress
hack to support 4k-page NAND.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/nand.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/nand.h b/include/nand.h index 5dd1710..8b3a1a7 100644 --- a/include/nand.h +++ b/include/nand.h @@ -24,6 +24,17 @@ #ifndef _NAND_H_ #define _NAND_H_ +#include <config.h> + +/* + * All boards using a given driver must convert to self-init + * at the same time, so do it here. When all drivers are + * converted, this will go away. + */ +#if defined(CONFIG_NAND_FSL_ELBC) +#define CONFIG_SYS_NAND_SELF_INIT +#endif + extern void nand_init(void); #include <linux/mtd/compat.h> |