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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2008-08-15 18:32:41 +02:00 committed by Wolfgang Denk
parent 7dbc38ad91
commit 0de0afbca8
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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 */