]> git.sur5r.net Git - u-boot/blobdiff - include/nand.h
i2c: imx: add macros to setup pads for multiple SoC types
[u-boot] / include / nand.h
index 84116f493722e41d1cd808c2005802ccf07782c0..fc735d1ec4479099b2b1813754596721258d4214 100644 (file)
  * at the same time, so do it here.  When all drivers are
  * converted, this will go away.
  */
+#ifdef CONFIG_SPL_BUILD
+#if defined(CONFIG_NAND_FSL_ELBC) || defined(CONFIG_NAND_FSL_IFC)
+#define CONFIG_SYS_NAND_SELF_INIT
+#endif
+#else
 #if defined(CONFIG_NAND_FSL_ELBC) || defined(CONFIG_NAND_ATMEL)\
        || defined(CONFIG_NAND_FSL_IFC)
 #define CONFIG_SYS_NAND_SELF_INIT
 #endif
+#endif
 
 extern void nand_init(void);