X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fnand.h;h=a48b1b8ed1a514831511303abca62cb48fccb96d;hb=d74055596833ecf9c73babc97d9818093679e26c;hp=5dd1710eb281b26c70d8e8fffec675cf1cc693a3;hpb=578931b34d0a26974f14640fa4ec3aadeb2145cd;p=u-boot diff --git a/include/nand.h b/include/nand.h index 5dd1710eb2..a48b1b8ed1 100644 --- a/include/nand.h +++ b/include/nand.h @@ -24,9 +24,20 @@ #ifndef _NAND_H_ #define _NAND_H_ +#include + +/* + * 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 +#include #include #include