[U-Boot] [Fix] cfi: rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER
Heiko Schocher
hs at denx.de
Tue Aug 19 09:57:41 CEST 2008
Hello Jean-Chistophe,
your commit:
commit 00b1883a4cac59d97cd297b1a3a398db85982865
drivers/mtd: Move conditional compilation to Makefile
rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
overloocked 3 boards:
[hs at pollux u-boot]$ grep -lr CFG_FLASH_CFI_DRIVER include/configs/
include/configs/M5253DEMO.h
include/configs/ml507.h
include/configs/redwood.h
[hs at pollux u-boot]$
following Patch fixes this:
Subject: [PATCH] [FIX] cfi: rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER
for the 3 missing boards.
Signed-off-by: Heiko Schocher <hs at denx.de>
---
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 b91d7d6..f2c2317 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 c653a51..f8cd499 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 32ed574..3de3587 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 */
--
1.5.6.1
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list