]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_FLASH_CFI_LEGACY to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 23 Jul 2022 17:05:02 +0000 (13:05 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 4 Aug 2022 20:18:47 +0000 (16:18 -0400)
This converts the following to Kconfig:
   CONFIG_FLASH_CFI_LEGACY

Signed-off-by: Tom Rini <trini@konsulko.com>
board/freescale/m5253demo/Kconfig
include/configs/M5253DEMO.h

index 303d29bc23a2fe7955cb0b4f061060cfade2f11c..0ecce875d149c61303c38caf88ca6aef954db249 100644 (file)
@@ -1,5 +1,9 @@
 if TARGET_M5253DEMO
 
+config FLASH_CFI_LEGACY
+       depends on SYS_FLASH_CFI
+       def_bool y
+
 config SYS_CPU
        default "mcf52x2"
 
index 88c2bbbf25f2184e547f0f70b68d0a0245d77124..b88280c90cdff8a827ebebb8ed5b2b9d113e441b 100644 (file)
  * 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