浏览代码

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@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD 16 年之前
父节点
当前提交
00b1883a4c
共有 100 个文件被更改,包括 103 次插入114 次删除
  1. 1 1
      README
  2. 2 2
      board/icecube/flash.c
  3. 2 2
      board/prodrive/pdnb3/flash.c
  4. 2 2
      board/tqc/tqm8xx/flash.c
  5. 3 3
      drivers/mtd/Makefile
  6. 0 3
      drivers/mtd/at45.c
  7. 0 3
      drivers/mtd/cfi_flash.c
  8. 0 5
      drivers/mtd/mw_eeprom.c
  9. 1 1
      include/configs/APC405.h
  10. 1 1
      include/configs/ATUM8548.h
  11. 1 1
      include/configs/Adder.h
  12. 1 1
      include/configs/BC3450.h
  13. 1 1
      include/configs/CPCI750.h
  14. 1 1
      include/configs/DU440.h
  15. 1 1
      include/configs/EP88x.h
  16. 1 1
      include/configs/FPS850L.h
  17. 1 1
      include/configs/FPS860L.h
  18. 1 1
      include/configs/HMI10.h
  19. 1 1
      include/configs/IDS8247.h
  20. 1 1
      include/configs/ISPAN.h
  21. 1 1
      include/configs/IceCube.h
  22. 1 1
      include/configs/M52277EVB.h
  23. 1 1
      include/configs/M5235EVB.h
  24. 1 1
      include/configs/M5249EVB.h
  25. 1 1
      include/configs/M5253EVBE.h
  26. 1 1
      include/configs/M5271EVB.h
  27. 1 1
      include/configs/M5275EVB.h
  28. 1 1
      include/configs/M5282EVB.h
  29. 1 1
      include/configs/M5329EVB.h
  30. 1 1
      include/configs/M5373EVB.h
  31. 1 1
      include/configs/M54455EVB.h
  32. 1 1
      include/configs/M5475EVB.h
  33. 1 1
      include/configs/M5485EVB.h
  34. 1 1
      include/configs/MPC8313ERDB.h
  35. 1 1
      include/configs/MPC8315ERDB.h
  36. 1 1
      include/configs/MPC8323ERDB.h
  37. 1 1
      include/configs/MPC832XEMDS.h
  38. 1 1
      include/configs/MPC8349EMDS.h
  39. 2 2
      include/configs/MPC8349ITX.h
  40. 1 1
      include/configs/MPC8360EMDS.h
  41. 1 1
      include/configs/MPC8360ERDK.h
  42. 1 1
      include/configs/MPC837XEMDS.h
  43. 1 1
      include/configs/MPC837XERDB.h
  44. 1 1
      include/configs/MPC8540ADS.h
  45. 1 1
      include/configs/MPC8541CDS.h
  46. 1 1
      include/configs/MPC8544DS.h
  47. 1 1
      include/configs/MPC8548CDS.h
  48. 1 1
      include/configs/MPC8555CDS.h
  49. 1 1
      include/configs/MPC8560ADS.h
  50. 1 1
      include/configs/MPC8568MDS.h
  51. 1 1
      include/configs/MPC8610HPCD.h
  52. 1 1
      include/configs/MPC8641HPCN.h
  53. 1 1
      include/configs/MVBC_P.h
  54. 1 1
      include/configs/MVBLM7.h
  55. 1 1
      include/configs/MigoR.h
  56. 1 1
      include/configs/NSCU.h
  57. 1 1
      include/configs/PM854.h
  58. 1 1
      include/configs/PM856.h
  59. 1 1
      include/configs/PMC405.h
  60. 1 1
      include/configs/PMC440.h
  61. 1 1
      include/configs/Rattler.h
  62. 1 1
      include/configs/SBC8540.h
  63. 1 1
      include/configs/SX1.h
  64. 1 1
      include/configs/TB5200.h
  65. 1 1
      include/configs/TK885D.h
  66. 1 1
      include/configs/TQM5200.h
  67. 1 1
      include/configs/TQM823L.h
  68. 1 1
      include/configs/TQM823M.h
  69. 1 1
      include/configs/TQM8272.h
  70. 1 1
      include/configs/TQM834x.h
  71. 1 1
      include/configs/TQM850L.h
  72. 1 1
      include/configs/TQM850M.h
  73. 1 1
      include/configs/TQM855L.h
  74. 1 1
      include/configs/TQM855M.h
  75. 1 1
      include/configs/TQM85xx.h
  76. 1 1
      include/configs/TQM860L.h
  77. 1 1
      include/configs/TQM860M.h
  78. 1 1
      include/configs/TQM862L.h
  79. 1 1
      include/configs/TQM862M.h
  80. 1 1
      include/configs/TQM866M.h
  81. 1 1
      include/configs/TQM885D.h
  82. 1 1
      include/configs/Total5200.h
  83. 1 1
      include/configs/ZPC1900.h
  84. 1 1
      include/configs/acadia.h
  85. 1 1
      include/configs/actux1.h
  86. 1 1
      include/configs/actux2.h
  87. 1 1
      include/configs/actux3.h
  88. 1 1
      include/configs/actux4.h
  89. 1 1
      include/configs/ads5121.h
  90. 1 1
      include/configs/aev.h
  91. 1 1
      include/configs/alpr.h
  92. 1 1
      include/configs/apollon.h
  93. 1 1
      include/configs/assabet.h
  94. 1 1
      include/configs/at91cap9adk.h
  95. 1 1
      include/configs/at91sam9263ek.h
  96. 1 1
      include/configs/atngw100.h
  97. 1 1
      include/configs/atstk1002.h
  98. 1 1
      include/configs/atstk1003.h
  99. 1 1
      include/configs/atstk1004.h
  100. 1 1
      include/configs/atstk1006.h

+ 1 - 1
README

@@ -2064,7 +2064,7 @@ Configuration Settings:
 		Define if the flash driver uses extra elements in the
 		Define if the flash driver uses extra elements in the
 		common flash structure for storing flash geometry.
 		common flash structure for storing flash geometry.
 
 
-- CFG_FLASH_CFI_DRIVER
+- CONFIG_FLASH_CFI_DRIVER
 		This option also enables the building of the cfi_flash driver
 		This option also enables the building of the cfi_flash driver
 		in the drivers directory
 		in the drivers directory
 
 

+ 2 - 2
board/icecube/flash.c

@@ -23,7 +23,7 @@
 
 
 #include <common.h>
 #include <common.h>
 
 
-#ifndef CFG_FLASH_CFI_DRIVER
+#ifndef CONFIG_FLASH_CFI_DRIVER
 flash_info_t	flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips	*/
 flash_info_t	flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips	*/
 
 
 /* NOTE - CONFIG_FLASH_16BIT means the CPU interface is 16-bit, it
 /* NOTE - CONFIG_FLASH_16BIT means the CPU interface is 16-bit, it
@@ -490,4 +490,4 @@ static int write_word_amd (flash_info_t *info, FPWV *dest, FPW data)
 
 
 	return (res);
 	return (res);
 }
 }
-#endif /*CFG_FLASH_CFI_DRIVER*/
+#endif /*CONFIG_FLASH_CFI_DRIVER*/

+ 2 - 2
board/prodrive/pdnb3/flash.c

@@ -24,7 +24,7 @@
 #include <common.h>
 #include <common.h>
 #include <asm/arch/ixp425.h>
 #include <asm/arch/ixp425.h>
 
 
-#if !defined(CFG_FLASH_CFI_DRIVER)
+#if !defined(CONFIG_FLASH_CFI_DRIVER)
 
 
 /*
 /*
  * include common flash code (for esd boards)
  * include common flash code (for esd boards)
@@ -86,4 +86,4 @@ unsigned long flash_init(void)
 	return size;
 	return size;
 }
 }
 
 
-#endif /* CFG_FLASH_CFI_DRIVER */
+#endif /* CONFIG_FLASH_CFI_DRIVER */

+ 2 - 2
board/tqc/tqm8xx/flash.c

@@ -33,7 +33,7 @@
 
 
 DECLARE_GLOBAL_DATA_PTR;
 DECLARE_GLOBAL_DATA_PTR;
 
 
-#if !defined(CFG_FLASH_CFI_DRIVER) /* do not use if CFI driver is configured */
+#if !defined(CONFIG_FLASH_CFI_DRIVER) /* do not use if CFI driver is configured */
 
 
 #if defined(CONFIG_TQM8xxL) && !defined(CONFIG_TQM866M) \
 #if defined(CONFIG_TQM8xxL) && !defined(CONFIG_TQM866M) \
     && !defined(CONFIG_TQM885D)
     && !defined(CONFIG_TQM885D)
@@ -831,4 +831,4 @@ static int write_word (flash_info_t *info, ulong dest, ulong data)
 /*-----------------------------------------------------------------------
 /*-----------------------------------------------------------------------
  */
  */
 
 
-#endif /* !defined(CFG_FLASH_CFI_DRIVER) */
+#endif /* !defined(CONFIG_FLASH_CFI_DRIVER) */

+ 3 - 3
drivers/mtd/Makefile

@@ -25,11 +25,11 @@ include $(TOPDIR)/config.mk
 
 
 LIB	:= $(obj)libmtd.a
 LIB	:= $(obj)libmtd.a
 
 
-COBJS-y += at45.o
-COBJS-y += cfi_flash.o
+COBJS-$(CONFIG_HAS_DATAFLASH) += at45.o
+COBJS-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
 COBJS-$(CONFIG_HAS_DATAFLASH) += dataflash.o
 COBJS-$(CONFIG_HAS_DATAFLASH) += dataflash.o
-COBJS-y += mw_eeprom.o
 COBJS-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o
 COBJS-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o
+COBJS-$(CONFIG_MW_EEPROM) += mw_eeprom.o
 
 
 COBJS	:= $(COBJS-y)
 COBJS	:= $(COBJS-y)
 SRCS	:= $(COBJS:.o=.c)
 SRCS	:= $(COBJS:.o=.c)

+ 0 - 3
drivers/mtd/at45.c

@@ -20,8 +20,6 @@
 
 
 #include <config.h>
 #include <config.h>
 #include <common.h>
 #include <common.h>
-
-#ifdef CONFIG_HAS_DATAFLASH
 #include <dataflash.h>
 #include <dataflash.h>
 
 
 /*
 /*
@@ -559,4 +557,3 @@ int AT91F_DataflashProbe(int cs, AT91PS_DataflashDesc pDesc)
 	AT91F_DataFlashGetStatus(pDesc);
 	AT91F_DataFlashGetStatus(pDesc);
 	return ((pDesc->command[1] == 0xFF) ? 0 : pDesc->command[1] & 0x3C);
 	return ((pDesc->command[1] == 0xFF) ? 0 : pDesc->command[1] & 0x3C);
 }
 }
-#endif

+ 0 - 3
drivers/mtd/cfi_flash.c

@@ -39,7 +39,6 @@
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/byteorder.h>
 #include <asm/byteorder.h>
 #include <environment.h>
 #include <environment.h>
-#ifdef	CFG_FLASH_CFI_DRIVER
 
 
 /*
 /*
  * This file implements a Common Flash Interface (CFI) driver for
  * This file implements a Common Flash Interface (CFI) driver for
@@ -2015,5 +2014,3 @@ unsigned long flash_init (void)
 #endif
 #endif
 	return (size);
 	return (size);
 }
 }
-
-#endif /* CFG_FLASH_CFI */

+ 0 - 5
drivers/mtd/mw_eeprom.c

@@ -1,9 +1,6 @@
 /* Three-wire (MicroWire) serial eeprom driver (for 93C46 and compatibles) */
 /* Three-wire (MicroWire) serial eeprom driver (for 93C46 and compatibles) */
 
 
 #include <common.h>
 #include <common.h>
-
-#ifdef CONFIG_MW_EEPROM
-
 #include <ssi.h>
 #include <ssi.h>
 
 
 /*
 /*
@@ -237,5 +234,3 @@ int mw_eeprom_probe(int dev)
 	}
 	}
 	return 0;
 	return 0;
 }
 }
-
-#endif

+ 1 - 1
include/configs/APC405.h

@@ -269,7 +269,7 @@ extern int flash_banks;
 
 
 #define CFG_FLASH_BASE		0xFE000000
 #define CFG_FLASH_BASE		0xFE000000
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_MAX_FLASH_SECT	256	/* max num of sects on one chip */
 #define CFG_MAX_FLASH_SECT	256	/* max num of sects on one chip */
 #define CFG_MAX_FLASH_BANKS	flash_banks /* max num of flash banks */
 #define CFG_MAX_FLASH_BANKS	flash_banks /* max num of flash banks */
 					    /* updated in board_early_init_r */
 					    /* updated in board_early_init_r */

+ 1 - 1
include/configs/ATUM8548.h

@@ -182,7 +182,7 @@
 
 
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 
 
-#define CFG_FLASH_CFI_DRIVER    1
+#define CONFIG_FLASH_CFI_DRIVER    1
 #define CFG_FLASH_CFI           1
 #define CFG_FLASH_CFI           1
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/Adder.h

@@ -143,7 +143,7 @@
  */
  */
 #define CFG_FLASH_BASE		0xFE000000
 #define CFG_FLASH_BASE		0xFE000000
 #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_MAX_FLASH_BANKS	1		/* Max number of flash banks	*/
 #define CFG_MAX_FLASH_BANKS	1		/* Max number of flash banks	*/
 #define CFG_MAX_FLASH_SECT	128		/* Max num of sects on one chip */
 #define CFG_MAX_FLASH_SECT	128		/* Max num of sects on one chip */
 
 

+ 1 - 1
include/configs/BC3450.h

@@ -328,7 +328,7 @@
 
 
 /* use CFI flash driver if no module variant is spezified */
 /* use CFI flash driver if no module variant is spezified */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_BOOTCS_START }
 #define CFG_FLASH_BANKS_LIST	{ CFG_BOOTCS_START }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_SIZE		0x04000000 /* 64 MByte */
 #define CFG_FLASH_SIZE		0x04000000 /* 64 MByte */

+ 1 - 1
include/configs/CPCI750.h

@@ -294,7 +294,7 @@
  * FLASH related
  * FLASH related
  *----------------------------------------------------------------------*/
  *----------------------------------------------------------------------*/
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI		1	   /* Flash is CFI conformant		*/
 #define CFG_FLASH_CFI		1	   /* Flash is CFI conformant		*/
 #define CFG_FLASH_PROTECTION	1	   /* use hardware protection		*/
 #define CFG_FLASH_PROTECTION	1	   /* use hardware protection		*/
 #define CFG_FLASH_USE_BUFFER_WRITE 1	   /* use buffered writes (20x faster)	*/
 #define CFG_FLASH_USE_BUFFER_WRITE 1	   /* use buffered writes (20x faster)	*/

+ 1 - 1
include/configs/DU440.h

@@ -119,7 +119,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_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 
 

+ 1 - 1
include/configs/EP88x.h

@@ -138,7 +138,7 @@
  */
  */
 #define CFG_FLASH_BASE		0xFC000000
 #define CFG_FLASH_BASE		0xFC000000
 #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_MAX_FLASH_BANKS	1		/* Max number of flash banks	*/
 #define CFG_MAX_FLASH_BANKS	1		/* Max number of flash banks	*/
 #define CFG_MAX_FLASH_SECT	512		/* Max num of sects on one chip */
 #define CFG_MAX_FLASH_SECT	512		/* Max num of sects on one chip */
 
 

+ 1 - 1
include/configs/FPS850L.h

@@ -194,7 +194,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/FPS860L.h

@@ -194,7 +194,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/HMI10.h

@@ -227,7 +227,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/IDS8247.h

@@ -227,7 +227,7 @@
 #define CFG_BOOTMAPSZ        (8 << 20)       /* Initial Memory map for Linux */
 #define CFG_BOOTMAPSZ        (8 << 20)       /* Initial Memory map for Linux */
 
 
 #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_BANKS_LIST	{ 0xFF800000 }
 #define CFG_FLASH_BANKS_LIST	{ 0xFF800000 }
 #define CFG_MAX_FLASH_BANKS_DETECT	1
 #define CFG_MAX_FLASH_BANKS_DETECT	1
 /* What should the base address of the main FLASH be and how big is
 /* What should the base address of the main FLASH be and how big is

+ 1 - 1
include/configs/ISPAN.h

@@ -180,7 +180,7 @@
  */
  */
 #define CFG_FLASH_BASE		0xFE000000
 #define CFG_FLASH_BASE		0xFE000000
 #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_MAX_FLASH_BANKS	1		/* Max num of memory banks	*/
 #define CFG_MAX_FLASH_BANKS	1		/* Max num of memory banks	*/
 #define CFG_MAX_FLASH_SECT	142		/* Max num of sects on one chip */
 #define CFG_MAX_FLASH_SECT	142		/* Max num of sects on one chip */
 
 

+ 1 - 1
include/configs/IceCube.h

@@ -246,7 +246,7 @@
 #undef CONFIG_FLASH_16BIT	/* Flash is 8-bit */
 #undef CONFIG_FLASH_16BIT	/* Flash is 8-bit */
 
 
 #if defined(CONFIG_LITE5200B)
 #if defined(CONFIG_LITE5200B)
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_BANKS_LIST	{CFG_CS1_START,CFG_CS0_START}
 #define CFG_FLASH_BANKS_LIST	{CFG_CS1_START,CFG_CS0_START}
 #endif
 #endif

+ 1 - 1
include/configs/M52277EVB.h

@@ -207,7 +207,7 @@
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 
 
-#	define CFG_FLASH_CFI_DRIVER	1
+#	define CONFIG_FLASH_CFI_DRIVER	1
 #	define CFG_FLASH_SIZE		0x1000000	/* Max size that the board might have */
 #	define CFG_FLASH_SIZE		0x1000000	/* Max size that the board might have */
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */

+ 1 - 1
include/configs/M5235EVB.h

@@ -200,7 +200,7 @@
  */
  */
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
-#	define CFG_FLASH_CFI_DRIVER	1
+#	define CONFIG_FLASH_CFI_DRIVER	1
 #	define CFG_FLASH_SIZE		0x800000	/* Max size that the board might have */
 #	define CFG_FLASH_SIZE		0x800000	/* Max size that the board might have */
 #ifdef NORFLASH_PS32BIT
 #ifdef NORFLASH_PS32BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_32BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_32BIT

+ 1 - 1
include/configs/M5249EVB.h

@@ -150,7 +150,7 @@
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 
 
-#	define CFG_FLASH_CFI_DRIVER	1
+#	define CONFIG_FLASH_CFI_DRIVER	1
 #	define CFG_FLASH_SIZE		0x1000000	/* Max size that the board might have */
 #	define CFG_FLASH_SIZE		0x1000000	/* Max size that the board might have */
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */

+ 1 - 1
include/configs/M5253EVBE.h

@@ -172,7 +172,7 @@
 #define CFG_FLASH_ERASE_TOUT	1000
 #define CFG_FLASH_ERASE_TOUT	1000
 
 
 #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_SIZE		0x200000
 #define CFG_FLASH_SIZE		0x200000
 #define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 
 

+ 1 - 1
include/configs/M5271EVB.h

@@ -210,7 +210,7 @@
 #define CFG_FLASH_ERASE_TOUT	1000
 #define CFG_FLASH_ERASE_TOUT	1000
 
 
 #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_SIZE		0x200000
 #define CFG_FLASH_SIZE		0x200000
 
 
 /* Cache Configuration */
 /* Cache Configuration */

+ 1 - 1
include/configs/M5275EVB.h

@@ -197,7 +197,7 @@
 #define CFG_FLASH_ERASE_TOUT	1000
 #define CFG_FLASH_ERASE_TOUT	1000
 
 
 #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_SIZE		0x200000
 #define CFG_FLASH_SIZE		0x200000
 
 
 /*-----------------------------------------------------------------------
 /*-----------------------------------------------------------------------

+ 1 - 1
include/configs/M5282EVB.h

@@ -194,7 +194,7 @@
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 
 
-#	define CFG_FLASH_CFI_DRIVER	1
+#	define CONFIG_FLASH_CFI_DRIVER	1
 #	define CFG_FLASH_SIZE		0x1000000	/* Max size that the board might have */
 #	define CFG_FLASH_SIZE		0x1000000	/* Max size that the board might have */
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */

+ 1 - 1
include/configs/M5329EVB.h

@@ -202,7 +202,7 @@
  */
  */
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
-#	define CFG_FLASH_CFI_DRIVER	1
+#	define CONFIG_FLASH_CFI_DRIVER	1
 #	define CFG_FLASH_SIZE		0x800000	/* Max size that the board might have */
 #	define CFG_FLASH_SIZE		0x800000	/* Max size that the board might have */
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */

+ 1 - 1
include/configs/M5373EVB.h

@@ -202,7 +202,7 @@
  */
  */
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
-#	define CFG_FLASH_CFI_DRIVER	1
+#	define CONFIG_FLASH_CFI_DRIVER	1
 #	define CFG_FLASH_SIZE		0x800000	/* Max size that the board might have */
 #	define CFG_FLASH_SIZE		0x800000	/* Max size that the board might have */
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */
 #	define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks */

+ 1 - 1
include/configs/M54455EVB.h

@@ -302,7 +302,7 @@
 #undef CFG_FLASH_CFI
 #undef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 
 
-#	define CFG_FLASH_CFI_DRIVER	1
+#	define CONFIG_FLASH_CFI_DRIVER	1
 #	define CFG_FLASH_SIZE		0x1000000	/* Max size that the board might have */
 #	define CFG_FLASH_SIZE		0x1000000	/* Max size that the board might have */
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_8BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_8BIT
 #	define CFG_MAX_FLASH_BANKS	2	/* max number of memory banks */
 #	define CFG_MAX_FLASH_BANKS	2	/* max number of memory banks */

+ 1 - 1
include/configs/M5475EVB.h

@@ -259,7 +259,7 @@
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #	define CFG_FLASH_BASE		(CFG_CS0_BASE)
 #	define CFG_FLASH_BASE		(CFG_CS0_BASE)
-#	define CFG_FLASH_CFI_DRIVER	1
+#	define CONFIG_FLASH_CFI_DRIVER	1
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_MAX_FLASH_SECT	137	/* max number of sectors on one chip */
 #	define CFG_MAX_FLASH_SECT	137	/* max number of sectors on one chip */
 #	define CFG_FLASH_PROTECTION	/* "Real" (hardware) sectors protection */
 #	define CFG_FLASH_PROTECTION	/* "Real" (hardware) sectors protection */

+ 1 - 1
include/configs/M5485EVB.h

@@ -245,7 +245,7 @@
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #ifdef CFG_FLASH_CFI
 #	define CFG_FLASH_BASE		(CFG_CS0_BASE)
 #	define CFG_FLASH_BASE		(CFG_CS0_BASE)
-#	define CFG_FLASH_CFI_DRIVER	1
+#	define CONFIG_FLASH_CFI_DRIVER	1
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #	define CFG_MAX_FLASH_SECT	137	/* max number of sectors on one chip */
 #	define CFG_MAX_FLASH_SECT	137	/* max number of sectors on one chip */
 #	define CFG_FLASH_PROTECTION	/* "Real" (hardware) sectors protection */
 #	define CFG_FLASH_PROTECTION	/* "Real" (hardware) sectors protection */

+ 1 - 1
include/configs/MPC8313ERDB.h

@@ -171,7 +171,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER			/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER			/* use the CFI driver */
 #define CFG_FLASH_BASE		0xFE000000	/* start of FLASH   */
 #define CFG_FLASH_BASE		0xFE000000	/* start of FLASH   */
 #define CFG_FLASH_SIZE		8		/* flash size in MB */
 #define CFG_FLASH_SIZE		8		/* flash size in MB */
 #define CFG_FLASH_EMPTY_INFO			/* display empty sectors */
 #define CFG_FLASH_EMPTY_INFO			/* display empty sectors */

+ 1 - 1
include/configs/MPC8315ERDB.h

@@ -188,7 +188,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER	/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER	/* use the CFI driver */
 #define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 
 
 #define CFG_FLASH_BASE		0xFE000000 /* FLASH base address */
 #define CFG_FLASH_BASE		0xFE000000 /* FLASH base address */

+ 1 - 1
include/configs/MPC8323ERDB.h

@@ -178,7 +178,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER	/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER	/* use the CFI driver */
 #define CFG_FLASH_BASE		0xFE000000	/* FLASH base address */
 #define CFG_FLASH_BASE		0xFE000000	/* FLASH base address */
 #define CFG_FLASH_SIZE		16	/* FLASH size is 16M */
 #define CFG_FLASH_SIZE		16	/* FLASH size is 16M */
 
 

+ 1 - 1
include/configs/MPC832XEMDS.h

@@ -166,7 +166,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER	/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER	/* use the CFI driver */
 #define CFG_FLASH_BASE		0xFE000000	/* FLASH base address */
 #define CFG_FLASH_BASE		0xFE000000	/* FLASH base address */
 #define CFG_FLASH_SIZE		16	/* FLASH size is 16M */
 #define CFG_FLASH_SIZE		16	/* FLASH size is 16M */
 
 

+ 1 - 1
include/configs/MPC8349EMDS.h

@@ -148,7 +148,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER			/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER			/* use the CFI driver */
 #define CFG_FLASH_BASE		0xFE000000	/* start of FLASH   */
 #define CFG_FLASH_BASE		0xFE000000	/* start of FLASH   */
 #define CFG_FLASH_SIZE		32		/* max flash size in MB */
 #define CFG_FLASH_SIZE		32		/* max flash size in MB */
 /* #define CFG_FLASH_USE_BUFFER_WRITE */
 /* #define CFG_FLASH_USE_BUFFER_WRITE */

+ 2 - 2
include/configs/MPC8349ITX.h

@@ -175,7 +175,7 @@
  */
  */
 
 
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER			/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER			/* use the CFI driver */
 #define CFG_FLASH_BASE		0xFE000000	/* start of FLASH   */
 #define CFG_FLASH_BASE		0xFE000000	/* start of FLASH   */
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_MAX_FLASH_SECT	135	/* 127 64KB sectors + 8 8KB sectors per device */
 #define CFG_MAX_FLASH_SECT	135	/* 127 64KB sectors + 8 8KB sectors per device */
@@ -419,7 +419,7 @@ boards, we say we have two, but don't display a message if we find only one. */
   #define CFG_ENV_SIZE		0x2000
   #define CFG_ENV_SIZE		0x2000
 #else
 #else
   #define CFG_NO_FLASH		/* Flash is not usable now */
   #define CFG_NO_FLASH		/* Flash is not usable now */
-  #undef  CFG_FLASH_CFI_DRIVER
+  #undef  CONFIG_FLASH_CFI_DRIVER
   #define CFG_ENV_IS_NOWHERE	/* Store ENV in memory only */
   #define CFG_ENV_IS_NOWHERE	/* Store ENV in memory only */
   #define CFG_ENV_ADDR		(CFG_MONITOR_BASE - 0x1000)
   #define CFG_ENV_ADDR		(CFG_MONITOR_BASE - 0x1000)
   #define CFG_ENV_SIZE		0x2000
   #define CFG_ENV_SIZE		0x2000

+ 1 - 1
include/configs/MPC8360EMDS.h

@@ -191,7 +191,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER	/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER	/* use the CFI driver */
 #define CFG_FLASH_BASE		0xFE000000 /* FLASH base address */
 #define CFG_FLASH_BASE		0xFE000000 /* FLASH base address */
 #define CFG_FLASH_SIZE		32 /* max FLASH size is 32M */
 #define CFG_FLASH_SIZE		32 /* max FLASH size is 32M */
 #define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
 #define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */

+ 1 - 1
include/configs/MPC8360ERDK.h

@@ -184,7 +184,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER	/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER	/* use the CFI driver */
 #define CFG_FLASH_SIZE		8 /* max FLASH size is 32M */
 #define CFG_FLASH_SIZE		8 /* max FLASH size is 32M */
 #define CFG_FLASH_PROTECTION	1 /* Use intel Flash protection. */
 #define CFG_FLASH_PROTECTION	1 /* Use intel Flash protection. */
 
 

+ 1 - 1
include/configs/MPC837XEMDS.h

@@ -226,7 +226,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER	/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER	/* use the CFI driver */
 #define CFG_FLASH_BASE		0xFE000000 /* FLASH base address */
 #define CFG_FLASH_BASE		0xFE000000 /* FLASH base address */
 #define CFG_FLASH_SIZE		32 /* max FLASH size is 32M */
 #define CFG_FLASH_SIZE		32 /* max FLASH size is 32M */
 
 

+ 1 - 1
include/configs/MPC837XERDB.h

@@ -249,7 +249,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
 #define CFG_FLASH_CFI		/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER	/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER	/* use the CFI driver */
 #define CFG_FLASH_BASE		0xFE000000 /* FLASH base address */
 #define CFG_FLASH_BASE		0xFE000000 /* FLASH base address */
 #define CFG_FLASH_SIZE		8 /* max FLASH size is 32M */
 #define CFG_FLASH_SIZE		8 /* max FLASH size is 32M */
 
 

+ 1 - 1
include/configs/MPC8540ADS.h

@@ -152,7 +152,7 @@
 #undef  CFG_RAMBOOT
 #undef  CFG_RAMBOOT
 #endif
 #endif
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MPC8541CDS.h

@@ -154,7 +154,7 @@ extern unsigned long get_clock_freq(void);
 
 
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MPC8544DS.h

@@ -168,7 +168,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 
 
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MPC8548CDS.h

@@ -172,7 +172,7 @@ extern unsigned long get_clock_freq(void);
 
 
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MPC8555CDS.h

@@ -154,7 +154,7 @@ extern unsigned long get_clock_freq(void);
 
 
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MPC8560ADS.h

@@ -148,7 +148,7 @@
 #undef  CFG_RAMBOOT
 #undef  CFG_RAMBOOT
 #endif
 #endif
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MPC8568MDS.h

@@ -167,7 +167,7 @@ extern unsigned long get_clock_freq(void);
 
 
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MPC8610HPCD.h

@@ -192,7 +192,7 @@
 #define CFG_FLASH_WRITE_TOUT	500	/* Flash Write Timeout (ms) */
 #define CFG_FLASH_WRITE_TOUT	500	/* Flash Write Timeout (ms) */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MPC8641HPCN.h

@@ -214,7 +214,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CFG_FLASH_WRITE_TOUT	500	/* Flash Write Timeout (ms) */
 #define CFG_FLASH_WRITE_TOUT	500	/* Flash Write Timeout (ms) */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 #define CFG_MONITOR_BASE	TEXT_BASE	/* start of monitor */
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MVBC_P.h

@@ -198,7 +198,7 @@
  */
  */
 #undef 	CONFIG_FLASH_16BIT
 #undef 	CONFIG_FLASH_16BIT
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI_AMD_RESET 1
 #define CFG_FLASH_CFI_AMD_RESET 1
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/MVBLM7.h

@@ -104,7 +104,7 @@
 
 
 /* Flash */
 /* Flash */
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 #define CFG_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 
 
 #define CFG_FLASH_BASE		0xFF800000
 #define CFG_FLASH_BASE		0xFF800000

+ 1 - 1
include/configs/MigoR.h

@@ -103,7 +103,7 @@
 
 
 /* FLASH */
 /* FLASH */
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #undef  CFG_FLASH_QUIET_TEST
 #undef  CFG_FLASH_QUIET_TEST
 /* print 'E' for empty sector on flinfo */
 /* print 'E' for empty sector on flinfo */
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO

+ 1 - 1
include/configs/NSCU.h

@@ -200,7 +200,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/PM854.h

@@ -148,7 +148,7 @@
 #undef	CFG_RAMBOOT
 #undef	CFG_RAMBOOT
 #endif
 #endif
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/PM856.h

@@ -149,7 +149,7 @@
 #undef  CFG_RAMBOOT
 #undef  CFG_RAMBOOT
 #endif
 #endif
 
 
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 
 

+ 1 - 1
include/configs/PMC405.h

@@ -214,7 +214,7 @@
 #define CFG_FLASH_INCREMENT	0x01000000
 #define CFG_FLASH_INCREMENT	0x01000000
 
 
 #define CFG_FLASH_CFI         1       /* Flash is CFI conformant */
 #define CFG_FLASH_CFI         1       /* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER  1       /* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER  1       /* Use the common driver */
 #define CFG_FLASH_PROTECTION  1       /* don't use hardware protection        */
 #define CFG_FLASH_PROTECTION  1       /* don't use hardware protection        */
 #define CFG_FLASH_USE_BUFFER_WRITE 1  /* use buffered writes (20x faster)     */
 #define CFG_FLASH_USE_BUFFER_WRITE 1  /* use buffered writes (20x faster)     */
 #define CFG_MAX_FLASH_BANKS   2       /* max num of flash banks */
 #define CFG_MAX_FLASH_BANKS   2       /* max num of flash banks */

+ 1 - 1
include/configs/PMC440.h

@@ -120,7 +120,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_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 
 

+ 1 - 1
include/configs/Rattler.h

@@ -187,7 +187,7 @@
 
 
 #define CFG_FLASH_BASE		0xFE000000
 #define CFG_FLASH_BASE		0xFE000000
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_MAX_FLASH_BANKS	1	/* max num of flash banks	*/
 #define CFG_MAX_FLASH_BANKS	1	/* max num of flash banks	*/
 #define CFG_MAX_FLASH_SECT	256	/* max num of sects on one chip */
 #define CFG_MAX_FLASH_SECT	256	/* max num of sects on one chip */
 
 

+ 1 - 1
include/configs/SBC8540.h

@@ -291,7 +291,7 @@
  */
  */
 
 
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant		*/
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant		*/
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver		*/
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver		*/
 #if 0
 #if 0
 #define CFG_FLASH_USE_BUFFER_WRITE 1    /* use buffered writes (20x faster)     */
 #define CFG_FLASH_USE_BUFFER_WRITE 1    /* use buffered writes (20x faster)     */
 #define CFG_FLASH_PROTECTION		/* use hardware protection		*/
 #define CFG_FLASH_PROTECTION		/* use hardware protection		*/

+ 1 - 1
include/configs/SX1.h

@@ -181,7 +181,7 @@
  * FLASH driver setup
  * FLASH driver setup
  */
  */
 #define CFG_FLASH_CFI		1	/* Flash memory is CFI compliant */
 #define CFG_FLASH_CFI		1	/* Flash memory is CFI compliant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use drivers/mtd/cfi_flash.c */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use drivers/mtd/cfi_flash.c */
 #define CFG_FLASH_USE_BUFFER_WRITE 1	/* Use buffered writes (~10x faster) */
 #define CFG_FLASH_USE_BUFFER_WRITE 1	/* Use buffered writes (~10x faster) */
 #define CFG_FLASH_PROTECTION	1	/* Use hardware sector protection */
 #define CFG_FLASH_PROTECTION	1	/* Use hardware sector protection */
 
 

+ 1 - 1
include/configs/TB5200.h

@@ -255,7 +255,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_BOOTCS_START }
 #define CFG_FLASH_BANKS_LIST	{ CFG_BOOTCS_START }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_SIZE		0x04000000 /* 64 MByte */
 #define CFG_FLASH_SIZE		0x04000000 /* 64 MByte */

+ 1 - 1
include/configs/TK885D.h

@@ -247,7 +247,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM5200.h

@@ -386,7 +386,7 @@
 #else
 #else
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_BOOTCS_START }
 #define CFG_FLASH_BANKS_LIST	{ CFG_BOOTCS_START }
 #define CFG_MAX_FLASH_BANKS	1	/* max num of flash banks
 #define CFG_MAX_FLASH_BANKS	1	/* max num of flash banks
 					   (= chip selects) */
 					   (= chip selects) */

+ 1 - 1
include/configs/TQM823L.h

@@ -208,7 +208,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM823M.h

@@ -203,7 +203,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM8272.h

@@ -372,7 +372,7 @@
 #define CFG_MAX_FLASH_SECT	128	/* max num of sects on one chip */
 #define CFG_MAX_FLASH_SECT	128	/* max num of sects on one chip */
 
 
 #define CFG_FLASH_CFI				/* flash is CFI compat.	*/
 #define CFG_FLASH_CFI				/* flash is CFI compat.	*/
-#define CFG_FLASH_CFI_DRIVER			/* Use common CFI driver*/
+#define CONFIG_FLASH_CFI_DRIVER			/* Use common CFI driver*/
 #define CFG_FLASH_EMPTY_INFO		/* print 'E' for empty sector	*/
 #define CFG_FLASH_EMPTY_INFO		/* print 'E' for empty sector	*/
 #define CFG_FLASH_QUIET_TEST	1	/* don't warn upon unknown flash*/
 #define CFG_FLASH_QUIET_TEST	1	/* don't warn upon unknown flash*/
 
 

+ 1 - 1
include/configs/TQM834x.h

@@ -78,7 +78,7 @@
  * FLASH on the Local Bus
  * FLASH on the Local Bus
  */
  */
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER			/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER			/* use the CFI driver */
 #undef CFG_FLASH_CHECKSUM
 #undef CFG_FLASH_CHECKSUM
 #define CFG_FLASH_BASE		0x80000000	/* start of FLASH   */
 #define CFG_FLASH_BASE		0x80000000	/* start of FLASH   */
 #define CFG_FLASH_SIZE		8		/* FLASH size in MB */
 #define CFG_FLASH_SIZE		8		/* FLASH size in MB */

+ 1 - 1
include/configs/TQM850L.h

@@ -193,7 +193,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM850M.h

@@ -192,7 +192,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM855L.h

@@ -198,7 +198,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM855M.h

@@ -232,7 +232,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM85xx.h

@@ -204,7 +204,7 @@
 #endif /* CONFIG_TQM_BIGFLASH */
 #endif /* CONFIG_TQM_BIGFLASH */
 
 
 #define CFG_FLASH_CFI			/* flash is CFI compat.		*/
 #define CFG_FLASH_CFI			/* flash is CFI compat.		*/
-#define CFG_FLASH_CFI_DRIVER		/* Use common CFI driver	*/
+#define CONFIG_FLASH_CFI_DRIVER		/* Use common CFI driver	*/
 #define CFG_FLASH_EMPTY_INFO		/* print 'E' for empty sector	*/
 #define CFG_FLASH_EMPTY_INFO		/* print 'E' for empty sector	*/
 #define CFG_FLASH_QUIET_TEST	1	/* don't warn upon unknown flash*/
 #define CFG_FLASH_QUIET_TEST	1	/* don't warn upon unknown flash*/
 #define CFG_FLASH_USE_BUFFER_WRITE	1 /* speed up output to Flash	*/
 #define CFG_FLASH_USE_BUFFER_WRITE	1 /* speed up output to Flash	*/

+ 1 - 1
include/configs/TQM860L.h

@@ -197,7 +197,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM860M.h

@@ -197,7 +197,7 @@
  */
  */
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM862L.h

@@ -201,7 +201,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM862M.h

@@ -201,7 +201,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM866M.h

@@ -241,7 +241,7 @@
  */
  */
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/TQM885D.h

@@ -244,7 +244,7 @@
 
 
 /* use CFI flash driver */
 /* use CFI flash driver */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_BANKS_LIST	{ CFG_FLASH_BASE }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_USE_BUFFER_WRITE	1
 #define CFG_FLASH_USE_BUFFER_WRITE	1

+ 1 - 1
include/configs/Total5200.h

@@ -204,7 +204,7 @@
  * Flash configuration
  * Flash configuration
  */
  */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #if CONFIG_TOTAL5200_REV==2
 #if CONFIG_TOTAL5200_REV==2
 #   define CFG_MAX_FLASH_BANKS	3	/* max num of flash banks */
 #   define CFG_MAX_FLASH_BANKS	3	/* max num of flash banks */
 #   define CFG_FLASH_BANKS_LIST { CFG_CS5_START, CFG_CS4_START, CFG_BOOTCS_START }
 #   define CFG_FLASH_BANKS_LIST { CFG_CS5_START, CFG_CS4_START, CFG_BOOTCS_START }

+ 1 - 1
include/configs/ZPC1900.h

@@ -179,7 +179,7 @@
 #define CFG_FLSIMM_BASE		0xFF000000
 #define CFG_FLSIMM_BASE		0xFF000000
 
 
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_MAX_FLASH_BANKS	2	/* max num of flash banks	*/
 #define CFG_MAX_FLASH_BANKS	2	/* max num of flash banks	*/
 #define CFG_MAX_FLASH_SECT	32	/* max num of sects on one chip */
 #define CFG_MAX_FLASH_SECT	32	/* max num of sects on one chip */
 
 

+ 1 - 1
include/configs/acadia.h

@@ -107,7 +107,7 @@
  *----------------------------------------------------------------------*/
  *----------------------------------------------------------------------*/
 #if !defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL)
 #if !defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL)
 #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_BANKS_LIST    {CFG_FLASH_BASE}
 #define CFG_FLASH_BANKS_LIST    {CFG_FLASH_BASE}
 #define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks		*/
 #define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks		*/

+ 1 - 1
include/configs/actux1.h

@@ -162,7 +162,7 @@
 
 
 /* Use common CFI driver */
 /* Use common CFI driver */
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 /* no byte writes on IXP4xx */
 /* no byte writes on IXP4xx */
 #define CFG_FLASH_CFI_WIDTH		FLASH_CFI_16BIT
 #define CFG_FLASH_CFI_WIDTH		FLASH_CFI_16BIT
 /* print 'E' for empty sector on flinfo */
 /* print 'E' for empty sector on flinfo */

+ 1 - 1
include/configs/actux2.h

@@ -136,7 +136,7 @@
 
 
 /* Use common CFI driver */
 /* Use common CFI driver */
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 /* no byte writes on IXP4xx */
 /* no byte writes on IXP4xx */
 #define CFG_FLASH_CFI_WIDTH		FLASH_CFI_16BIT
 #define CFG_FLASH_CFI_WIDTH		FLASH_CFI_16BIT
 
 

+ 1 - 1
include/configs/actux3.h

@@ -135,7 +135,7 @@
 
 
 /* Use common CFI driver */
 /* Use common CFI driver */
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 /* no byte writes on IXP4xx */
 /* no byte writes on IXP4xx */
 #define CFG_FLASH_CFI_WIDTH		FLASH_CFI_16BIT
 #define CFG_FLASH_CFI_WIDTH		FLASH_CFI_16BIT
 
 

+ 1 - 1
include/configs/actux4.h

@@ -134,7 +134,7 @@
 
 
 /* Use common CFI driver */
 /* Use common CFI driver */
 #define CFG_FLASH_CFI
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
+#define CONFIG_FLASH_CFI_DRIVER
 /* board provides its own flash_init code */
 /* board provides its own flash_init code */
 #define CONFIG_FLASH_CFI_LEGACY		1
 #define CONFIG_FLASH_CFI_LEGACY		1
 /* no byte writes on IXP4xx */
 /* no byte writes on IXP4xx */

+ 1 - 1
include/configs/ads5121.h

@@ -183,7 +183,7 @@
  */
  */
 #undef CONFIG_BKUP_FLASH
 #undef CONFIG_BKUP_FLASH
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
 #define CFG_FLASH_CFI				/* use the Common Flash Interface */
-#define CFG_FLASH_CFI_DRIVER			/* use the CFI driver */
+#define CONFIG_FLASH_CFI_DRIVER			/* use the CFI driver */
 #ifdef CONFIG_BKUP_FLASH
 #ifdef CONFIG_BKUP_FLASH
 #define CFG_FLASH_BASE		0xFF800000	/* start of FLASH   */
 #define CFG_FLASH_BASE		0xFF800000	/* start of FLASH   */
 #define CFG_FLASH_SIZE		0x00800000	/* max flash size in bytes */
 #define CFG_FLASH_SIZE		0x00800000	/* max flash size in bytes */

+ 1 - 1
include/configs/aev.h

@@ -225,7 +225,7 @@
 
 
 /* use CFI flash driver if no module variant is spezified */
 /* use CFI flash driver if no module variant is spezified */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
 #define CFG_FLASH_CFI		1	/* Flash is CFI conformant */
-#define CFG_FLASH_CFI_DRIVER	1	/* Use the common driver */
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use the common driver */
 #define CFG_FLASH_BANKS_LIST	{ CFG_BOOTCS_START }
 #define CFG_FLASH_BANKS_LIST	{ CFG_BOOTCS_START }
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_SIZE		0x04000000 /* 64 MByte */
 #define CFG_FLASH_SIZE		0x04000000 /* 64 MByte */

+ 1 - 1
include/configs/alpr.h

@@ -86,7 +86,7 @@
  * FLASH related
  * FLASH related
  *----------------------------------------------------------------------*/
  *----------------------------------------------------------------------*/
 #define CFG_FLASH_CFI		1	/* The flash is CFI compatible		*/
 #define CFG_FLASH_CFI		1	/* The flash is CFI compatible		*/
-#define CFG_FLASH_CFI_DRIVER	1	/* Use common CFI driver		*/
+#define CONFIG_FLASH_CFI_DRIVER	1	/* Use common CFI driver		*/
 #define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks		*/
 #define CFG_MAX_FLASH_BANKS	1	/* max number of memory banks		*/
 #define CFG_MAX_FLASH_SECT	512	/* max number of sectors on one chip	*/
 #define CFG_MAX_FLASH_SECT	512	/* max number of sectors on one chip	*/
 #define CFG_FLASH_USE_BUFFER_WRITE 1	/* use buffered writes (20x faster)	*/
 #define CFG_FLASH_USE_BUFFER_WRITE 1	/* use buffered writes (20x faster)	*/

+ 1 - 1
include/configs/apollon.h

@@ -215,7 +215,7 @@
  * CFI FLASH driver setup
  * CFI FLASH driver setup
  */
  */
 # define	CFG_FLASH_CFI	1	/* Flash memory is CFI compliant */
 # define	CFG_FLASH_CFI	1	/* Flash memory is CFI compliant */
-# define	CFG_FLASH_CFI_DRIVER	1	/* Use drivers/cfi_flash.c */
+# define	CONFIG_FLASH_CFI_DRIVER	1	/* Use drivers/cfi_flash.c */
 /* #define CFG_FLASH_USE_BUFFER_WRITE 1 */ /* Use buffered writes (~10x faster) */
 /* #define CFG_FLASH_USE_BUFFER_WRITE 1 */ /* Use buffered writes (~10x faster) */
 # define	CFG_FLASH_PROTECTION	1	/* Use h/w sector protection*/
 # define	CFG_FLASH_PROTECTION	1	/* Use h/w sector protection*/
 
 

+ 1 - 1
include/configs/assabet.h

@@ -152,7 +152,7 @@
 #define CFG_FLASH_BASE		PHYS_FLASH_1
 #define CFG_FLASH_BASE		PHYS_FLASH_1
 #define CFG_FLASH_SIZE          PHYS_FLASH_SIZE
 #define CFG_FLASH_SIZE          PHYS_FLASH_SIZE
 #define CFG_FLASH_CFI           1	/* flash is CFI conformant      */
 #define CFG_FLASH_CFI           1	/* flash is CFI conformant      */
-#define CFG_FLASH_CFI_DRIVER    1	/* use common cfi driver        */
+#define CONFIG_FLASH_CFI_DRIVER    1	/* use common cfi driver        */
 #define CFG_FLASH_USE_BUFFER_WRITE 1	/* use buffered writes (20x faster) */
 #define CFG_FLASH_USE_BUFFER_WRITE 1	/* use buffered writes (20x faster) */
 #define CFG_MAX_FLASH_BANKS     1	/* max # of memory banks        */
 #define CFG_MAX_FLASH_BANKS     1	/* max # of memory banks        */
 #define CFG_FLASH_INCREMENT     0	/* there is only one bank       */
 #define CFG_FLASH_INCREMENT     0	/* there is only one bank       */

+ 1 - 1
include/configs/at91cap9adk.h

@@ -109,7 +109,7 @@
 
 
 /* NOR flash */
 /* NOR flash */
 #define CFG_FLASH_CFI			1
 #define CFG_FLASH_CFI			1
-#define CFG_FLASH_CFI_DRIVER		1
+#define CONFIG_FLASH_CFI_DRIVER		1
 #define PHYS_FLASH_1			0x10000000
 #define PHYS_FLASH_1			0x10000000
 #define CFG_FLASH_BASE			PHYS_FLASH_1
 #define CFG_FLASH_BASE			PHYS_FLASH_1
 #define CFG_MAX_FLASH_SECT		256
 #define CFG_MAX_FLASH_SECT		256

+ 1 - 1
include/configs/at91sam9263ek.h

@@ -113,7 +113,7 @@
 #define CFG_NO_FLASH			1
 #define CFG_NO_FLASH			1
 #else
 #else
 #define CFG_FLASH_CFI			1
 #define CFG_FLASH_CFI			1
-#define CFG_FLASH_CFI_DRIVER		1
+#define CONFIG_FLASH_CFI_DRIVER		1
 #define PHYS_FLASH_1			0x10000000
 #define PHYS_FLASH_1			0x10000000
 #define CFG_FLASH_BASE			PHYS_FLASH_1
 #define CFG_FLASH_BASE			PHYS_FLASH_1
 #define CFG_MAX_FLASH_SECT		256
 #define CFG_MAX_FLASH_SECT		256

+ 1 - 1
include/configs/atngw100.h

@@ -140,7 +140,7 @@
 #define CONFIG_NR_DRAM_BANKS		1
 #define CONFIG_NR_DRAM_BANKS		1
 
 
 #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_BASE			0x00000000
 #define CFG_FLASH_BASE			0x00000000
 #define CFG_FLASH_SIZE			0x800000
 #define CFG_FLASH_SIZE			0x800000

+ 1 - 1
include/configs/atstk1002.h

@@ -163,7 +163,7 @@
 /* External flash on STK1000 */
 /* External flash on STK1000 */
 #if 0
 #if 0
 #define CFG_FLASH_CFI			1
 #define CFG_FLASH_CFI			1
-#define CFG_FLASH_CFI_DRIVER		1
+#define CONFIG_FLASH_CFI_DRIVER		1
 #endif
 #endif
 
 
 #define CFG_FLASH_BASE			0x00000000
 #define CFG_FLASH_BASE			0x00000000

+ 1 - 1
include/configs/atstk1003.h

@@ -146,7 +146,7 @@
 /* External flash on STK1000 */
 /* External flash on STK1000 */
 #if 0
 #if 0
 #define CFG_FLASH_CFI			1
 #define CFG_FLASH_CFI			1
-#define CFG_FLASH_CFI_DRIVER		1
+#define CONFIG_FLASH_CFI_DRIVER		1
 #endif
 #endif
 
 
 #define CFG_FLASH_BASE			0x00000000
 #define CFG_FLASH_BASE			0x00000000

+ 1 - 1
include/configs/atstk1004.h

@@ -146,7 +146,7 @@
 /* External flash on STK1000 */
 /* External flash on STK1000 */
 #if 0
 #if 0
 #define CFG_FLASH_CFI			1
 #define CFG_FLASH_CFI			1
-#define CFG_FLASH_CFI_DRIVER		1
+#define CONFIG_FLASH_CFI_DRIVER		1
 #endif
 #endif
 
 
 #define CFG_FLASH_BASE			0x00000000
 #define CFG_FLASH_BASE			0x00000000

+ 1 - 1
include/configs/atstk1006.h

@@ -163,7 +163,7 @@
 /* External flash on STK1000 */
 /* External flash on STK1000 */
 #if 0
 #if 0
 #define CFG_FLASH_CFI			1
 #define CFG_FLASH_CFI			1
-#define CFG_FLASH_CFI_DRIVER		1
+#define CONFIG_FLASH_CFI_DRIVER		1
 #endif
 #endif
 
 
 #define CFG_FLASH_BASE			0x00000000
 #define CFG_FLASH_BASE			0x00000000

部分文件因为文件数量过多而无法显示