mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-17 08:43:07 +00:00
4e5909450e
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS_NAND namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
16 lines
770 B
C
16 lines
770 B
C
#if defined(CONFIG_ELBC_BR_OR_NAND_PRELIM_0)
|
|
#define CFG_SYS_NAND_BR_PRELIM CONFIG_SYS_BR0_PRELIM
|
|
#define CFG_SYS_NAND_OR_PRELIM CONFIG_SYS_OR0_PRELIM
|
|
#elif defined(CONFIG_ELBC_BR_OR_NAND_PRELIM_1)
|
|
#define CFG_SYS_NAND_BR_PRELIM CONFIG_SYS_BR1_PRELIM
|
|
#define CFG_SYS_NAND_OR_PRELIM CONFIG_SYS_OR1_PRELIM
|
|
#elif defined(CONFIG_ELBC_BR_OR_NAND_PRELIM_2)
|
|
#define CFG_SYS_NAND_BR_PRELIM CONFIG_SYS_BR2_PRELIM
|
|
#define CFG_SYS_NAND_OR_PRELIM CONFIG_SYS_OR2_PRELIM
|
|
#elif defined(CONFIG_ELBC_BR_OR_NAND_PRELIM_3)
|
|
#define CFG_SYS_NAND_BR_PRELIM CONFIG_SYS_BR3_PRELIM
|
|
#define CFG_SYS_NAND_OR_PRELIM CONFIG_SYS_OR3_PRELIM
|
|
#elif defined(CONFIG_ELBC_BR_OR_NAND_PRELIM_4)
|
|
#define CFG_SYS_NAND_BR_PRELIM CONFIG_SYS_BR4_PRELIM
|
|
#define CFG_SYS_NAND_OR_PRELIM CONFIG_SYS_OR4_PRELIM
|
|
#endif
|