summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-23 13:05:02 -0400
committerTom Rini <trini@konsulko.com>2022-08-04 16:18:47 -0400
commit1d3ecdac7ecd5d9b237067b0c96aa1e618c8621d (patch)
tree52e1d88eee11eecd359de0855332b9deb46ca7e4
parentcc1015f4a9938c8c82311f1e61f1d974fda67d9f (diff)
downloadu-boot-1d3ecdac7ecd5d9b237067b0c96aa1e618c8621d.tar.gz
u-boot-1d3ecdac7ecd5d9b237067b0c96aa1e618c8621d.tar.bz2
u-boot-1d3ecdac7ecd5d9b237067b0c96aa1e618c8621d.zip
Convert CONFIG_FLASH_CFI_LEGACY to Kconfig
This converts the following to Kconfig: CONFIG_FLASH_CFI_LEGACY Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/freescale/m5253demo/Kconfig4
-rw-r--r--include/configs/M5253DEMO.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/board/freescale/m5253demo/Kconfig b/board/freescale/m5253demo/Kconfig
index 303d29bc23..0ecce875d1 100644
--- a/board/freescale/m5253demo/Kconfig
+++ b/board/freescale/m5253demo/Kconfig
@@ -1,5 +1,9 @@
if TARGET_M5253DEMO
+config FLASH_CFI_LEGACY
+ depends on SYS_FLASH_CFI
+ def_bool y
+
config SYS_CPU
default "mcf52x2"
diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h
index 88c2bbbf25..b88280c90c 100644
--- a/include/configs/M5253DEMO.h
+++ b/include/configs/M5253DEMO.h
@@ -105,7 +105,6 @@
* 0x30 is block erase in SST
*/
# define CONFIG_SYS_FLASH_SIZE 0x800000
-# define CONFIG_FLASH_CFI_LEGACY
#else
# define CONFIG_SYS_SST_SECT 2048
# define CONFIG_SYS_SST_SECTSZ 0x1000