Commit 0de0afbca865ecf482b4d2b635236746def8518f
Committed by
Wolfgang Denk
1 parent
7dbc38ad91
Exists in
master
and in
54 other branches
coldfire: fix CFI drivers activation with new macro
rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Showing 3 changed files with 3 additions and 3 deletions Side-by-side Diff
include/configs/M5253DEMO.h
... | ... | @@ -206,7 +206,7 @@ |
206 | 206 | * Amd/Atmel use 0x30 for sector erase, SST use 0x50. |
207 | 207 | * 0x30 is block erase in SST |
208 | 208 | */ |
209 | -# define CFG_FLASH_CFI_DRIVER 1 | |
209 | +# define CONFIG_FLASH_CFI_DRIVER 1 | |
210 | 210 | # define CFG_FLASH_SIZE 0x800000 |
211 | 211 | # define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT |
212 | 212 | # define CONFIG_FLASH_CFI_LEGACY |
include/configs/ml507.h
... | ... | @@ -110,7 +110,7 @@ |
110 | 110 | #define CFG_FLASH_BASE XPAR_FLASH_MEM0_BASEADDR |
111 | 111 | #define CFG_FLASH_SIZE (32*1024*1024) |
112 | 112 | #define CFG_FLASH_CFI 1 |
113 | -#define CFG_FLASH_CFI_DRIVER 1 | |
113 | +#define CONFIG_FLASH_CFI_DRIVER 1 | |
114 | 114 | #define CFG_FLASH_EMPTY_INFO 1 |
115 | 115 | #define CFG_MAX_FLASH_BANKS 1 |
116 | 116 | #define CFG_MAX_FLASH_SECT 259 |
include/configs/redwood.h
... | ... | @@ -165,7 +165,7 @@ |
165 | 165 | * FLASH related |
166 | 166 | *----------------------------------------------------------------------*/ |
167 | 167 | #define CFG_FLASH_CFI /* The flash is CFI compatible */ |
168 | -#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */ | |
168 | +#define CONFIG_FLASH_CFI_DRIVER /* Use common CFI driver */ | |
169 | 169 | #define CFG_FLASH_CFI_AMD_RESET 1 /* Use AMD (Spansion) reset cmd */ |
170 | 170 | |
171 | 171 | #define CFG_MAX_FLASH_BANKS 3 /* number of banks */ |