summaryrefslogtreecommitdiff
path: root/include/configs/T4240RDB.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-12-04 17:13:35 -0500
committerTom Rini <trini@konsulko.com>2019-12-04 17:13:35 -0500
commitc1c6e4a9da674bce5980d82f8a70a56e023e58c3 (patch)
tree46548095b9e4baaa3a7de1d0ce8d07168ad3c01a /include/configs/T4240RDB.h
parent94d022bb400890f22fe35220d2519c3bce73f05e (diff)
parentfb4384490df4e753dcac0478bdb5e912994ef9d6 (diff)
Merge branch '2019-10-27-mtd-cleanup'
- Merge the series to clean up our MTD Kconfig and Makefile logic
Diffstat (limited to 'include/configs/T4240RDB.h')
-rw-r--r--include/configs/T4240RDB.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 493da70f66..042757c20e 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -386,7 +386,7 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SYS_NAND_BLOCK_SIZE (512 * 1024)
-#if defined(CONFIG_NAND)
+#if defined(CONFIG_MTD_RAW_NAND)
#define CONFIG_SYS_CSPR0_EXT CONFIG_SYS_NAND_CSPR_EXT
#define CONFIG_SYS_CSPR0 CONFIG_SYS_NAND_CSPR
#define CONFIG_SYS_AMASK0 CONFIG_SYS_NAND_AMASK
@@ -536,7 +536,7 @@ unsigned long get_board_ddr_clk(void);
* 0x2000 (16 blocks), 8 + 2048 + 16 = 2072, enlarge it to 2080.
*/
#define CONFIG_SYS_FMAN_FW_ADDR (512 * 0x820)
-#elif defined(CONFIG_NAND)
+#elif defined(CONFIG_MTD_RAW_NAND)
#define CONFIG_SYS_FMAN_FW_ADDR (8 * CONFIG_SYS_NAND_BLOCK_SIZE)
#else
#define CONFIG_SYS_FMAN_FW_ADDR 0xEFF00000