From 0de0afbca865ecf482b4d2b635236746def8518f Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 15 Aug 2008 18:32:41 +0200 Subject: [PATCH] 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 --- include/configs/M5253DEMO.h | 2 +- include/configs/ml507.h | 2 +- include/configs/redwood.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h index b91d7d6997..f2c2317f50 100644 --- a/include/configs/M5253DEMO.h +++ b/include/configs/M5253DEMO.h @@ -206,7 +206,7 @@ * Amd/Atmel use 0x30 for sector erase, SST use 0x50. * 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_CFI_WIDTH FLASH_CFI_16BIT # define CONFIG_FLASH_CFI_LEGACY diff --git a/include/configs/ml507.h b/include/configs/ml507.h index c653a5105c..f8cd499985 100644 --- a/include/configs/ml507.h +++ b/include/configs/ml507.h @@ -110,7 +110,7 @@ #define CFG_FLASH_BASE XPAR_FLASH_MEM0_BASEADDR #define CFG_FLASH_SIZE (32*1024*1024) #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_MAX_FLASH_BANKS 1 #define CFG_MAX_FLASH_SECT 259 diff --git a/include/configs/redwood.h b/include/configs/redwood.h index 32ed5746c5..78ca1b3b0b 100644 --- a/include/configs/redwood.h +++ b/include/configs/redwood.h @@ -165,7 +165,7 @@ * FLASH related *----------------------------------------------------------------------*/ #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_MAX_FLASH_BANKS 3 /* number of banks */ -- 2.25.1