提交 0de0afbc 编写于 作者: J Jean-Christophe PLAGNIOL-VILLARD 提交者: Wolfgang Denk

coldfire: fix CFI drivers activation with new macro

rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
上级 7dbc38ad
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
* Amd/Atmel use 0x30 for sector erase, SST use 0x50. * Amd/Atmel use 0x30 for sector erase, SST use 0x50.
* 0x30 is block erase in SST * 0x30 is block erase in SST
*/ */
# define CFG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CFG_FLASH_SIZE 0x800000 # define CFG_FLASH_SIZE 0x800000
# define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CONFIG_FLASH_CFI_LEGACY # define CONFIG_FLASH_CFI_LEGACY
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
#define CFG_FLASH_BASE XPAR_FLASH_MEM0_BASEADDR #define CFG_FLASH_BASE XPAR_FLASH_MEM0_BASEADDR
#define CFG_FLASH_SIZE (32*1024*1024) #define CFG_FLASH_SIZE (32*1024*1024)
#define CFG_FLASH_CFI 1 #define CFG_FLASH_CFI 1
#define CFG_FLASH_CFI_DRIVER 1 #define CONFIG_FLASH_CFI_DRIVER 1
#define CFG_FLASH_EMPTY_INFO 1 #define CFG_FLASH_EMPTY_INFO 1
#define CFG_MAX_FLASH_BANKS 1 #define CFG_MAX_FLASH_BANKS 1
#define CFG_MAX_FLASH_SECT 259 #define CFG_MAX_FLASH_SECT 259
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
* FLASH related * FLASH related
*----------------------------------------------------------------------*/ *----------------------------------------------------------------------*/
#define CFG_FLASH_CFI /* The flash is CFI compatible */ #define CFG_FLASH_CFI /* The flash is CFI compatible */
#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ #define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */
#define CFG_FLASH_CFI_AMD_RESET 1 /* Use AMD (Spansion) reset cmd */ #define CFG_FLASH_CFI_AMD_RESET 1 /* Use AMD (Spansion) reset cmd */
#define CFG_MAX_FLASH_BANKS 3 /* number of banks */ #define CFG_MAX_FLASH_BANKS 3 /* number of banks */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册