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>
This commit is contained in:
parent
cc1015f4a9
commit
1d3ecdac7e
@ -1,5 +1,9 @@
|
|||||||
if TARGET_M5253DEMO
|
if TARGET_M5253DEMO
|
||||||
|
|
||||||
|
config FLASH_CFI_LEGACY
|
||||||
|
depends on SYS_FLASH_CFI
|
||||||
|
def_bool y
|
||||||
|
|
||||||
config SYS_CPU
|
config SYS_CPU
|
||||||
default "mcf52x2"
|
default "mcf52x2"
|
||||||
|
|
||||||
|
@ -105,7 +105,6 @@
|
|||||||
* 0x30 is block erase in SST
|
* 0x30 is block erase in SST
|
||||||
*/
|
*/
|
||||||
# define CONFIG_SYS_FLASH_SIZE 0x800000
|
# define CONFIG_SYS_FLASH_SIZE 0x800000
|
||||||
# define CONFIG_FLASH_CFI_LEGACY
|
|
||||||
#else
|
#else
|
||||||
# define CONFIG_SYS_SST_SECT 2048
|
# define CONFIG_SYS_SST_SECT 2048
|
||||||
# define CONFIG_SYS_SST_SECTSZ 0x1000
|
# define CONFIG_SYS_SST_SECTSZ 0x1000
|
||||||
|
Loading…
Reference in New Issue
Block a user