aboutsummaryrefslogtreecommitdiff
path: root/include/configs/M5253DEMO.h
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-10-14 15:10:50 -0500
committerTom Rini <trini@konsulko.com>2018-10-19 19:19:50 -0400
commit2fe88d452268d61b5ca9cb0b1dda2974cc43faeb (patch)
tree34b191b9b50c9d3ffda9243c9db67282f88693cc /include/configs/M5253DEMO.h
parent4030f166f92eba4ddb49f8a1224dc09d4f9882be (diff)
downloadu-boot-2fe88d452268d61b5ca9cb0b1dda2974cc43faeb.zip
u-boot-2fe88d452268d61b5ca9cb0b1dda2974cc43faeb.tar.gz
u-boot-2fe88d452268d61b5ca9cb0b1dda2974cc43faeb.tar.bz2
Convert CONFIG_FLASH_CFI_DRIVER et al to Kconfig
This converts the following to Kconfig: CONFIG_FLASH_CFI_DRIVER CONFIG_SYS_FLASH_USE_BUFFER_WRITE CONFIG_FLASH_CFI_MTD CONFIG_SYS_FLASH_PROTECTION CONFIG_SYS_FLASH_CFI Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Re-migrate] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/M5253DEMO.h')
-rw-r--r--include/configs/M5253DEMO.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h
index ce2af4e..1199fa3 100644
--- a/include/configs/M5253DEMO.h
+++ b/include/configs/M5253DEMO.h
@@ -156,14 +156,12 @@
#define FLASH_SST6401B 0x200
#define SST_ID_xF6401B 0x236D236D
-#undef CONFIG_SYS_FLASH_CFI
#ifdef CONFIG_SYS_FLASH_CFI
/*
* Unable to use CFI driver, due to incompatible sector erase command by SST.
* Amd/Atmel use 0x30 for sector erase, SST use 0x50.
* 0x30 is block erase in SST
*/
-# define CONFIG_FLASH_CFI_DRIVER 1
# define CONFIG_SYS_FLASH_SIZE 0x800000
# define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CONFIG_FLASH_CFI_LEGACY