浏览代码

rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASH

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD 16 年之前
父节点
当前提交
5a1aceb068
共有 100 个文件被更改,包括 146 次插入146 次删除
  1. 2 2
      README
  2. 1 1
      board/LEOX/elpt860/flash.c
  3. 1 1
      board/MAI/AmigaOneG3SE/flash_new.c
  4. 1 1
      board/RPXlite_dw/README
  5. 1 1
      board/RRvision/flash.c
  6. 2 2
      board/a3000/flash.c
  7. 2 2
      board/amcc/bamboo/flash.c
  8. 1 1
      board/amcc/bubinga/flash.c
  9. 1 1
      board/amcc/ebony/flash.c
  10. 1 1
      board/amcc/kilauea/kilauea.c
  11. 1 1
      board/amcc/luan/flash.c
  12. 1 1
      board/amcc/makalu/makalu.c
  13. 1 1
      board/amcc/ocotea/flash.c
  14. 1 1
      board/amcc/sequoia/sequoia.c
  15. 1 1
      board/amcc/taihu/flash.c
  16. 1 1
      board/amcc/walnut/flash.c
  17. 1 1
      board/amcc/yucca/flash.c
  18. 1 1
      board/atc/flash.c
  19. 2 2
      board/barco/flash.c
  20. 2 2
      board/bmw/flash.c
  21. 2 2
      board/c2mon/flash.c
  22. 1 1
      board/cmc_pu2/flash.c
  23. 2 2
      board/cmi/flash.c
  24. 2 2
      board/cogent/flash.c
  25. 2 2
      board/cpc45/flash.c
  26. 1 1
      board/cpu86/flash.c
  27. 1 1
      board/cpu87/flash.c
  28. 2 2
      board/cu824/flash.c
  29. 1 1
      board/emk/common/flash.c
  30. 1 1
      board/ep8260/flash.c
  31. 1 1
      board/esd/pf5200/flash.c
  32. 1 1
      board/esd/pmc440/pmc440.c
  33. 1 1
      board/evb64260/flash.c
  34. 1 1
      board/exbitgen/flash.c
  35. 1 1
      board/fads/fads.h
  36. 2 2
      board/fads/flash.c
  37. 1 1
      board/flagadm/flash.c
  38. 1 1
      board/freescale/mpc8260ads/flash.c
  39. 2 2
      board/freescale/mpc8266ads/flash.c
  40. 1 1
      board/funkwerk/vovpn-gw/flash.c
  41. 2 2
      board/gen860t/flash.c
  42. 1 1
      board/gw8260/flash.c
  43. 2 2
      board/hidden_dragon/flash.c
  44. 1 1
      board/icecube/flash.c
  45. 2 2
      board/icu862/flash.c
  46. 2 2
      board/ids8247/flash.c
  47. 1 1
      board/incaip/flash.c
  48. 1 1
      board/innokom/flash.c
  49. 1 1
      board/integratorcp/flash.c
  50. 2 2
      board/ip860/flash.c
  51. 1 1
      board/iphase4539/flash.c
  52. 2 2
      board/ivm/flash.c
  53. 1 1
      board/kup/common/flash.c
  54. 3 3
      board/lantec/flash.c
  55. 3 3
      board/lwmon/flash.c
  56. 2 2
      board/mpc8540eval/flash.c
  57. 1 1
      board/mpl/common/flash.c
  58. 3 3
      board/musenki/flash.c
  59. 2 2
      board/nc650/flash.c
  60. 1 1
      board/netstal/hcu5/hcu5.c
  61. 1 1
      board/o2dnt/flash.c
  62. 1 1
      board/oxc/flash.c
  63. 1 1
      board/pcippc2/flash.c
  64. 1 1
      board/pm520/flash.c
  65. 1 1
      board/pm826/flash.c
  66. 1 1
      board/pm828/flash.c
  67. 1 1
      board/ppmc7xx/flash.c
  68. 1 1
      board/purple/flash.c
  69. 2 2
      board/r360mpi/flash.c
  70. 1 1
      board/rmu/flash.c
  71. 1 1
      board/rpxsuper/flash.c
  72. 1 1
      board/rsdproto/flash.c
  73. 2 2
      board/sacsng/flash.c
  74. 2 2
      board/sandpoint/flash.c
  75. 1 1
      board/sbc8260/flash.c
  76. 1 1
      board/siemens/SCM/flash.c
  77. 3 3
      board/siemens/pcu_e/flash.c
  78. 2 2
      board/sl8245/flash.c
  79. 2 2
      board/stxgp3/flash.c
  80. 2 2
      board/svm_sc8xx/flash.c
  81. 1 1
      board/tqc/tqm5200/cam5200_flash.c
  82. 1 1
      board/tqc/tqm8260/flash.c
  83. 2 2
      board/tqc/tqm8xx/flash.c
  84. 2 2
      board/utx8245/flash.c
  85. 3 3
      board/westel/amx860/flash.c
  86. 1 1
      common/cmd_nvedit.c
  87. 2 2
      common/env_flash.c
  88. 2 2
      drivers/mtd/cfi_flash.c
  89. 1 1
      include/configs/A3000.h
  90. 1 1
      include/configs/ADCIOP.h
  91. 1 1
      include/configs/ADNPESC1.h
  92. 1 1
      include/configs/AMX860.h
  93. 4 4
      include/configs/AP1000.h
  94. 1 1
      include/configs/AR405.h
  95. 1 1
      include/configs/ATUM8548.h
  96. 1 1
      include/configs/Adder.h
  97. 4 4
      include/configs/Alaska8220.h
  98. 1 1
      include/configs/BC3450.h
  99. 1 1
      include/configs/CANBT.h
  100. 1 1
      include/configs/CATcenter.h

+ 2 - 2
README

@@ -2104,7 +2104,7 @@ The following definitions that deal with the placement and management
 of environment data (variable area); in general, we support the
 of environment data (variable area); in general, we support the
 following configurations:
 following configurations:
 
 
-- CFG_ENV_IS_IN_FLASH:
+- CONFIG_ENV_IS_IN_FLASH:
 
 
 	Define this if the environment is in flash memory.
 	Define this if the environment is in flash memory.
 
 
@@ -2146,7 +2146,7 @@ following configurations:
 
 
 	- CFG_ENV_SIZE:
 	- CFG_ENV_SIZE:
 
 
-	   If you use this in combination with CFG_ENV_IS_IN_FLASH
+	   If you use this in combination with CONFIG_ENV_IS_IN_FLASH
 	   and CFG_ENV_SECT_SIZE, you can specify to use only a part
 	   and CFG_ENV_SECT_SIZE, you can specify to use only a part
 	   of this flash sector for the environment. This saves
 	   of this flash sector for the environment. This saves
 	   memory for the RAM copy of the environment.
 	   memory for the RAM copy of the environment.

+ 1 - 1
board/LEOX/elpt860/flash.c

@@ -122,7 +122,7 @@ flash_init (void)
 		 &flash_info[0]);
 		 &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
   /* ENV protection ON by default */
   /* ENV protection ON by default */
   flash_protect(FLAG_PROTECT_SET,
   flash_protect(FLAG_PROTECT_SET,
 		CFG_ENV_ADDR,
 		CFG_ENV_ADDR,

+ 1 - 1
board/MAI/AmigaOneG3SE/flash_new.c

@@ -123,7 +123,7 @@ unsigned long flash_init (void)
 			      &flash_info[0]);
 			      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 1 - 1
board/RPXlite_dw/README

@@ -21,7 +21,7 @@ make distclean
 make RPXlite_DW_64_config
 make RPXlite_DW_64_config
 make all
 make all
 
 
-2. CFG_ENV_IS_IN_FLASH/CONFIG_ENV_IS_IN_NVRAM
+2. CONFIG_ENV_IS_IN_FLASH/CONFIG_ENV_IS_IN_NVRAM
 
 
 The default environment parameter is stored in FLASH because it is a common choice for
 The default environment parameter is stored in FLASH because it is a common choice for
 environment parameter.So I make NVRAM as backup parameter storeage.The reason why I
 environment parameter.So I make NVRAM as backup parameter storeage.The reason why I

+ 1 - 1
board/RRvision/flash.c

@@ -77,7 +77,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/a3000/flash.c

@@ -25,7 +25,7 @@
 #include <common.h>
 #include <common.h>
 #include <mpc824x.h>
 #include <mpc824x.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -108,7 +108,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	DEBUGF("protect environtment %x @ %x\n", CFG_ENV_ADDR, CFG_ENV_SECT_SIZE);
 	DEBUGF("protect environtment %x @ %x\n", CFG_ENV_ADDR, CFG_ENV_SECT_SIZE);
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,

+ 2 - 2
board/amcc/bamboo/flash.c

@@ -153,11 +153,11 @@ unsigned long flash_init(void)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    &flash_info[i]);
 				    &flash_info[i]);
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[i]);
 				    &flash_info[i]);
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR_REDUND)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR_REDUND)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR_REDUND,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR_REDUND,
 				    CFG_ENV_ADDR_REDUND + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR_REDUND + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[i]);
 				    &flash_info[i]);

+ 1 - 1
board/amcc/bubinga/flash.c

@@ -84,7 +84,7 @@ unsigned long flash_init(void)
 				    CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    &flash_info[0]);
 				    &flash_info[0]);
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[0]);
 				    &flash_info[0]);

+ 1 - 1
board/amcc/ebony/flash.c

@@ -124,7 +124,7 @@ unsigned long flash_init(void)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    &flash_info[2]);
 				    &flash_info[2]);
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[2]);
 				    &flash_info[2]);

+ 1 - 1
board/amcc/kilauea/kilauea.c

@@ -219,7 +219,7 @@ int board_early_init_f (void)
 
 
 int misc_init_r(void)
 int misc_init_r(void)
 {
 {
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 	/* Monitor protection ON by default */
 	/* Monitor protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      -CFG_MONITOR_LEN,
 		      -CFG_MONITOR_LEN,

+ 1 - 1
board/amcc/luan/flash.c

@@ -95,7 +95,7 @@ unsigned long flash_init(void)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    &flash_info[2]);
 				    &flash_info[2]);
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[2]);
 				    &flash_info[2]);

+ 1 - 1
board/amcc/makalu/makalu.c

@@ -210,7 +210,7 @@ int board_early_init_f (void)
 
 
 int misc_init_r(void)
 int misc_init_r(void)
 {
 {
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 	/* Monitor protection ON by default */
 	/* Monitor protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      -CFG_MONITOR_LEN,
 		      -CFG_MONITOR_LEN,

+ 1 - 1
board/amcc/ocotea/flash.c

@@ -134,7 +134,7 @@ unsigned long flash_init(void)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    &flash_info[i]);
 				    &flash_info[i]);
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[i]);
 				    &flash_info[i]);

+ 1 - 1
board/amcc/sequoia/sequoia.c

@@ -157,7 +157,7 @@ int misc_init_r(void)
 	 */
 	 */
 	flash_get_size(gd->bd->bi_flashstart, 0);
 	flash_get_size(gd->bd->bi_flashstart, 0);
 
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 	/* Monitor protection ON by default */
 	/* Monitor protection ON by default */
 	(void)flash_protect(FLAG_PROTECT_SET,
 	(void)flash_protect(FLAG_PROTECT_SET,
 			    -CFG_MONITOR_LEN,
 			    -CFG_MONITOR_LEN,

+ 1 - 1
board/amcc/taihu/flash.c

@@ -87,7 +87,7 @@ unsigned long flash_init(void)
 				    CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    &flash_info[0]);
 				    &flash_info[0]);
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[0]);
 				    &flash_info[0]);

+ 1 - 1
board/amcc/walnut/flash.c

@@ -82,7 +82,7 @@ unsigned long flash_init(void)
 				    CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    &flash_info[0]);
 				    &flash_info[0]);
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[0]);
 				    &flash_info[0]);

+ 1 - 1
board/amcc/yucca/flash.c

@@ -1037,7 +1037,7 @@ unsigned long flash_init(void)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    &flash_info[i]);
 				    &flash_info[i]);
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[i]);
 				    &flash_info[i]);

+ 1 - 1
board/atc/flash.c

@@ -95,7 +95,7 @@ unsigned long flash_init (void)
 		      flash_get_info(CFG_MONITOR_BASE));
 		      flash_get_info(CFG_MONITOR_BASE));
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/barco/flash.c

@@ -58,7 +58,7 @@
 
 
 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    */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -224,7 +224,7 @@ unsigned long flash_init(void)
 				&flash_info[0]);
 				&flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 				CFG_ENV_ADDR,
 				CFG_ENV_ADDR,
 				CFG_ENV_ADDR + CFG_ENV_SIZE - 1,
 				CFG_ENV_ADDR + CFG_ENV_SIZE - 1,

+ 2 - 2
board/bmw/flash.c

@@ -31,7 +31,7 @@
 
 
 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    */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -224,7 +224,7 @@ unsigned long flash_init (void)
 			       &flash_info[0]);
 			       &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 		flash_protect (FLAG_PROTECT_SET,
 		flash_protect (FLAG_PROTECT_SET,
 			       CFG_ENV_ADDR,
 			       CFG_ENV_ADDR,
 			       CFG_ENV_ADDR + CFG_ENV_SIZE - 1,
 			       CFG_ENV_ADDR + CFG_ENV_SIZE - 1,

+ 2 - 2
board/c2mon/flash.c

@@ -95,7 +95,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,
@@ -122,7 +122,7 @@ unsigned long flash_init (void)
 			      &flash_info[1]);
 			      &flash_info[1]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 1 - 1
board/cmc_pu2/flash.c

@@ -71,7 +71,7 @@ unsigned long flash_init (void)
 		      flash_get_info(CFG_MONITOR_BASE));
 		      flash_get_info(CFG_MONITOR_BASE));
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/cmi/flash.c

@@ -36,7 +36,7 @@
 #include <common.h>
 #include <common.h>
 #include <mpc5xx.h>
 #include <mpc5xx.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -110,7 +110,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/cogent/flash.c

@@ -26,7 +26,7 @@
 
 
 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	*/
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -327,7 +327,7 @@ flash_init(void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/cpc45/flash.c

@@ -25,7 +25,7 @@
 #include <mpc824x.h>
 #include <mpc824x.h>
 #include <asm/processor.h>
 #include <asm/processor.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -174,7 +174,7 @@ unsigned long flash_init (void)
 		       &flash_info[0]);
 		       &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 #if CFG_ENV_ADDR >= CFG_FLASH_BASE + FLASH_BANK_SIZE
 #if CFG_ENV_ADDR >= CFG_FLASH_BASE + FLASH_BANK_SIZE
 	flash_protect (FLAG_PROTECT_SET,
 	flash_protect (FLAG_PROTECT_SET,
 		       CFG_ENV_ADDR,
 		       CFG_ENV_ADDR,

+ 1 - 1
board/cpu86/flash.c

@@ -230,7 +230,7 @@ unsigned long flash_init (void)
 #endif
 #endif
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 1 - 1
board/cpu87/flash.c

@@ -236,7 +236,7 @@ unsigned long flash_init (void)
 #endif
 #endif
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 2 - 2
board/cu824/flash.c

@@ -25,7 +25,7 @@
 #include <mpc824x.h>
 #include <mpc824x.h>
 #include <asm/processor.h>
 #include <asm/processor.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -135,7 +135,7 @@ unsigned long flash_init(void)
 #endif
 #endif
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 #if CFG_ENV_ADDR >= CFG_FLASH_BASE + FLASH_BANK_SIZE
 #if CFG_ENV_ADDR >= CFG_FLASH_BASE + FLASH_BANK_SIZE
     flash_protect(FLAG_PROTECT_SET,
     flash_protect(FLAG_PROTECT_SET,
 	      CFG_ENV_ADDR,
 	      CFG_ENV_ADDR,

+ 1 - 1
board/emk/common/flash.c

@@ -113,7 +113,7 @@ unsigned long flash_init (void)
 		      flash_get_info(CFG_MONITOR_BASE));
 		      flash_get_info(CFG_MONITOR_BASE));
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 1 - 1
board/ep8260/flash.c

@@ -157,7 +157,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 1 - 1
board/esd/pf5200/flash.c

@@ -76,7 +76,7 @@ unsigned long flash_init(void)
 		      flash_get_info(CFG_MONITOR_BASE));
 		      flash_get_info(CFG_MONITOR_BASE));
 #endif
 #endif
 
 
-#ifdef  CFG_ENV_IS_IN_FLASH
+#ifdef  CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 	flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		      CFG_ENV_ADDR + CFG_ENV_SIZE - 1,
 		      CFG_ENV_ADDR + CFG_ENV_SIZE - 1,

+ 1 - 1
board/esd/pmc440/pmc440.c

@@ -239,7 +239,7 @@ int misc_init_r(void)
 	 */
 	 */
 	flash_get_size(gd->bd->bi_flashstart, 0);
 	flash_get_size(gd->bd->bi_flashstart, 0);
 
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 	/* Monitor protection ON by default */
 	/* Monitor protection ON by default */
 	(void)flash_protect(FLAG_PROTECT_SET,
 	(void)flash_protect(FLAG_PROTECT_SET,
 			    -CFG_MONITOR_LEN,
 			    -CFG_MONITOR_LEN,

+ 1 - 1
board/evb64260/flash.c

@@ -119,7 +119,7 @@ flash_init (void)
 	              flash_get_info(CFG_MONITOR_BASE));
 	              flash_get_info(CFG_MONITOR_BASE));
 #endif
 #endif
 
 
-#ifdef  CFG_ENV_IS_IN_FLASH
+#ifdef  CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 	              CFG_ENV_ADDR,
 	              CFG_ENV_ADDR,

+ 1 - 1
board/exbitgen/flash.c

@@ -126,7 +126,7 @@ unsigned long flash_init (void)
 #endif
 #endif
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		CFG_ENV_ADDR,
 		CFG_ENV_ADDR,
 		CFG_ENV_ADDR + CFG_ENV_SIZE - 1,
 		CFG_ENV_ADDR + CFG_ENV_SIZE - 1,

+ 1 - 1
board/fads/fads.h

@@ -226,7 +226,7 @@
 #define CFG_FLASH_ERASE_TOUT	120000	/* Timeout for Flash Erase (in ms)	*/
 #define CFG_FLASH_ERASE_TOUT	120000	/* Timeout for Flash Erase (in ms)	*/
 #define CFG_FLASH_WRITE_TOUT	500	/* Timeout for Flash Write (in ms)	*/
 #define CFG_FLASH_WRITE_TOUT	500	/* Timeout for Flash Write (in ms)	*/
 
 
-#define	CFG_ENV_IS_IN_FLASH	1
+#define	CONFIG_ENV_IS_IN_FLASH	1
 #define CFG_ENV_SECT_SIZE	0x40000	/* see README - env sector total size	*/
 #define CFG_ENV_SECT_SIZE	0x40000	/* see README - env sector total size	*/
 #define CFG_ENV_OFFSET		CFG_ENV_SECT_SIZE
 #define CFG_ENV_OFFSET		CFG_ENV_SECT_SIZE
 #define	CFG_ENV_SIZE		0x4000	/* Total Size of Environment		*/
 #define	CFG_ENV_SIZE		0x4000	/* Total Size of Environment		*/

+ 2 - 2
board/fads/flash.c

@@ -26,7 +26,7 @@
 
 
 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 */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -124,7 +124,7 @@ unsigned long flash_init (void)
 				       &flash_info[i]);
 				       &flash_info[i]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		if (CFG_ENV_ADDR >= flash_info[i].start[0])
 		if (CFG_ENV_ADDR >= flash_info[i].start[0])
 			flash_protect (FLAG_PROTECT_SET,
 			flash_protect (FLAG_PROTECT_SET,

+ 1 - 1
board/flagadm/flash.c

@@ -81,7 +81,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_OFFSET,
 		      CFG_ENV_OFFSET,

+ 1 - 1
board/freescale/mpc8260ads/flash.c

@@ -155,7 +155,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/freescale/mpc8266ads/flash.c

@@ -31,7 +31,7 @@
 
 
 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	*/
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -105,7 +105,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 1 - 1
board/funkwerk/vovpn-gw/flash.c

@@ -151,7 +151,7 @@ flash_init(void)
 		      CFG_MONITOR_FLASH+CFG_MONITOR_LEN-1,
 		      CFG_MONITOR_FLASH+CFG_MONITOR_LEN-1,
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR+CFG_ENV_SECT_SIZE-1,
 		      CFG_ENV_ADDR+CFG_ENV_SECT_SIZE-1,

+ 2 - 2
board/gen860t/flash.c

@@ -25,7 +25,7 @@
 #include <common.h>
 #include <common.h>
 #include <mpc8xx.h>
 #include <mpc8xx.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -161,7 +161,7 @@ flash_init (void)
 			  &flash_info[0]);
 			  &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/*
 	/*
 	 * Environment protection ON by default
 	 * Environment protection ON by default
 	 */
 	 */

+ 1 - 1
board/gw8260/flash.c

@@ -100,7 +100,7 @@ unsigned long flash_init (void)
 		  &flash_info[0]);
 		  &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 2 - 2
board/hidden_dragon/flash.c

@@ -35,7 +35,7 @@
 
 
 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    */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -212,7 +212,7 @@ unsigned long flash_init (void)
 			       &flash_info[0]);
 			       &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 		flash_protect (FLAG_PROTECT_SET,
 		flash_protect (FLAG_PROTECT_SET,
 			       CFG_ENV_ADDR,
 			       CFG_ENV_ADDR,
 			       CFG_ENV_ADDR + CFG_ENV_SIZE - 1,
 			       CFG_ENV_ADDR + CFG_ENV_SIZE - 1,

+ 1 - 1
board/icecube/flash.c

@@ -88,7 +88,7 @@ unsigned long flash_init (void)
 		      flash_get_info(CFG_MONITOR_BASE));
 		      flash_get_info(CFG_MONITOR_BASE));
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/icu862/flash.c

@@ -26,7 +26,7 @@
 
 
 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	*/
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -108,7 +108,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/ids8247/flash.c

@@ -33,7 +33,7 @@
 
 
 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    */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -113,7 +113,7 @@ unsigned long flash_init (void)
 				&flash_info[0]);
 				&flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect (FLAG_PROTECT_SET,
 	flash_protect (FLAG_PROTECT_SET,
 			CFG_ENV_ADDR,
 			CFG_ENV_ADDR,

+ 1 - 1
board/incaip/flash.c

@@ -104,7 +104,7 @@ unsigned long flash_init (void)
 		      flash_get_info(CFG_MONITOR_BASE));
 		      flash_get_info(CFG_MONITOR_BASE));
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 1 - 1
board/innokom/flash.c

@@ -114,7 +114,7 @@ ulong flash_init(void)
 			CFG_FLASH_BASE + (256*1024) - 1,
 			CFG_FLASH_BASE + (256*1024) - 1,
 			&flash_info[0]);
 			&flash_info[0]);
 
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 			CFG_ENV_ADDR,
 			CFG_ENV_ADDR,
 			CFG_ENV_ADDR + CFG_ENV_SIZE - 1,
 			CFG_ENV_ADDR + CFG_ENV_SIZE - 1,

+ 1 - 1
board/integratorcp/flash.c

@@ -125,7 +125,7 @@ unsigned long flash_init (void)
 		       CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]);
 		       CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON */
 	/* ENV protection ON */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/ip860/flash.c

@@ -26,7 +26,7 @@
 
 
 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	*/
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -94,7 +94,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 1 - 1
board/iphase4539/flash.c

@@ -75,7 +75,7 @@ unsigned long flash_init (void)
 			      flash_info + bank);
 			      flash_info + bank);
 #endif
 #endif
 
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 2 - 2
board/ivm/flash.c

@@ -26,7 +26,7 @@
 
 
 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	*/
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -91,7 +91,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 1 - 1
board/kup/common/flash.c

@@ -78,7 +78,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 3 - 3
board/lantec/flash.c

@@ -29,7 +29,7 @@
 #include <common.h>
 #include <common.h>
 #include <mpc8xx.h>
 #include <mpc8xx.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -138,7 +138,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,
@@ -170,7 +170,7 @@ unsigned long flash_init (void)
 			      &flash_info[1]);
 			      &flash_info[1]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 3 - 3
board/lwmon/flash.c

@@ -26,7 +26,7 @@
 #include <common.h>
 #include <common.h>
 #include <mpc8xx.h>
 #include <mpc8xx.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -130,7 +130,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,
@@ -163,7 +163,7 @@ unsigned long flash_init (void)
 			      &flash_info[1]);
 			      &flash_info[1]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 2 - 2
board/mpc8540eval/flash.c

@@ -35,7 +35,7 @@
 
 
 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	*/
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -103,7 +103,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 1 - 1
board/mpl/common/flash.c

@@ -256,7 +256,7 @@ unsigned long flash_init (void)
 		p++;
 		p++;
 	}
 	}
 #else /* #if !defined(CONFIG_PATI) */
 #else /* #if !defined(CONFIG_PATI) */
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 3 - 3
board/musenki/flash.c

@@ -24,7 +24,7 @@
 #include <common.h>
 #include <common.h>
 #include <mpc824x.h>
 #include <mpc824x.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -153,7 +153,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	DEBUGF("protect environtment %x @ %x\n", CFG_ENV_ADDR, CFG_ENV_SECT_SIZE);
 	DEBUGF("protect environtment %x @ %x\n", CFG_ENV_ADDR, CFG_ENV_SECT_SIZE);
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
@@ -174,7 +174,7 @@ unsigned long flash_init (void)
 			      &flash_info[1]);
 			      &flash_info[1]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 2 - 2
board/nc650/flash.c

@@ -41,7 +41,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 
 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    */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -171,7 +171,7 @@ unsigned long flash_init (void)
 				&flash_info[0]);
 				&flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect (FLAG_PROTECT_SET,
 	flash_protect (FLAG_PROTECT_SET,
 			CFG_ENV_ADDR,
 			CFG_ENV_ADDR,

+ 1 - 1
board/netstal/hcu5/hcu5.c

@@ -240,7 +240,7 @@ int misc_init_r(void)
 	unsigned long usb2phy0cr, usb2h0cr = 0;
 	unsigned long usb2phy0cr, usb2h0cr = 0;
 	unsigned long sdr0_pfc1;
 	unsigned long sdr0_pfc1;
 
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 	/* Monitor protection ON by default */
 	/* Monitor protection ON by default */
 	(void)flash_protect(FLAG_PROTECT_SET,
 	(void)flash_protect(FLAG_PROTECT_SET,
 			    -CFG_MONITOR_LEN,
 			    -CFG_MONITOR_LEN,

+ 1 - 1
board/o2dnt/flash.c

@@ -103,7 +103,7 @@ unsigned long flash_init (void)
 			flash_get_info(CFG_MONITOR_BASE));
 			flash_get_info(CFG_MONITOR_BASE));
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 			CFG_ENV_ADDR,
 			CFG_ENV_ADDR,

+ 1 - 1
board/oxc/flash.c

@@ -73,7 +73,7 @@ unsigned long flash_init (void)
 		  &flash_info[0]);
 		  &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 1 - 1
board/pcippc2/flash.c

@@ -74,7 +74,7 @@ unsigned long flash_init (void)
 			      &flash_info[0]);
 			      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 1 - 1
board/pm520/flash.c

@@ -119,7 +119,7 @@ unsigned long flash_init (void)
 #endif
 #endif
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	flash_protect ( FLAG_PROTECT_SET,
 	flash_protect ( FLAG_PROTECT_SET,
 			CFG_ENV_ADDR,
 			CFG_ENV_ADDR,
 			CFG_ENV_ADDR + CFG_ENV_SIZE - 1, &flash_info[0] );
 			CFG_ENV_ADDR + CFG_ENV_SIZE - 1, &flash_info[0] );

+ 1 - 1
board/pm826/flash.c

@@ -144,7 +144,7 @@ unsigned long flash_init (void)
 # endif
 # endif
 #endif	/* CONFIG_BOOT_ROM */
 #endif	/* CONFIG_BOOT_ROM */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 1 - 1
board/pm828/flash.c

@@ -144,7 +144,7 @@ unsigned long flash_init (void)
 # endif
 # endif
 #endif	/* CONFIG_BOOT_ROM */
 #endif	/* CONFIG_BOOT_ROM */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 1 - 1
board/ppmc7xx/flash.c

@@ -197,7 +197,7 @@ unsigned long flash_init (void)
 		       CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]);
 		       CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 1 - 1
board/purple/flash.c

@@ -237,7 +237,7 @@ unsigned long flash_init (void)
 		      flash_get_info(CFG_MONITOR_BASE));
 		      flash_get_info(CFG_MONITOR_BASE));
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/r360mpi/flash.c

@@ -31,7 +31,7 @@
 
 
 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    */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -111,7 +111,7 @@ unsigned long flash_init (void)
 				&flash_info[0]);
 				&flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect (FLAG_PROTECT_SET,
 	flash_protect (FLAG_PROTECT_SET,
 			CFG_ENV_ADDR,
 			CFG_ENV_ADDR,

+ 1 - 1
board/rmu/flash.c

@@ -81,7 +81,7 @@ unsigned long flash_init (void)
 		      CFG_MONITOR_BASE+monitor_flash_len-1,
 		      CFG_MONITOR_BASE+monitor_flash_len-1,
 		      &flash_info[0]);
 		      &flash_info[0]);
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 1 - 1
board/rpxsuper/flash.c

@@ -71,7 +71,7 @@ unsigned long flash_init (void)
 		  &flash_info[0]);
 		  &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 1 - 1
board/rsdproto/flash.c

@@ -131,7 +131,7 @@ unsigned long flash_init (void)
 		      &flash_info[1]);
 		      &flash_info[1]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 2 - 2
board/sacsng/flash.c

@@ -73,7 +73,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,
@@ -90,7 +90,7 @@ unsigned long flash_init (void)
 			      &flash_info[1]);
 			      &flash_info[1]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 2 - 2
board/sandpoint/flash.c

@@ -32,7 +32,7 @@
 
 
 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    */
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR  (CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -230,7 +230,7 @@ flash_init(void)
 		&flash_info[0]);
 		&flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
     flash_protect(FLAG_PROTECT_SET,
     flash_protect(FLAG_PROTECT_SET,
 		CFG_ENV_ADDR,
 		CFG_ENV_ADDR,
 		CFG_ENV_ADDR + CFG_ENV_SIZE - 1,
 		CFG_ENV_ADDR + CFG_ENV_SIZE - 1,

+ 1 - 1
board/sbc8260/flash.c

@@ -67,7 +67,7 @@ unsigned long flash_init (void)
 		  &flash_info[0]);
 		  &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 1 - 1
board/siemens/SCM/flash.c

@@ -207,7 +207,7 @@ unsigned long flash_init (void)
 		       CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]);
 		       CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

+ 3 - 3
board/siemens/pcu_e/flash.c

@@ -24,7 +24,7 @@
 #include <common.h>
 #include <common.h>
 #include <mpc8xx.h>
 #include <mpc8xx.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -151,7 +151,7 @@ unsigned long flash_init (void)
 		      PCU_MONITOR_BASE+monitor_flash_len-1,
 		      PCU_MONITOR_BASE+monitor_flash_len-1,
 		      &flash_info[0]);
 		      &flash_info[0]);
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,
@@ -178,7 +178,7 @@ unsigned long flash_init (void)
 
 
 		flash_info[1].size = size_b1;
 		flash_info[1].size = size_b1;
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 2 - 2
board/sl8245/flash.c

@@ -25,7 +25,7 @@
 #include <mpc824x.h>
 #include <mpc824x.h>
 #include <asm/processor.h>
 #include <asm/processor.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -139,7 +139,7 @@ unsigned long flash_init (void)
 #endif
 #endif
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 #if CFG_ENV_ADDR >= CFG_FLASH_BASE + FLASH_BANK_SIZE
 #if CFG_ENV_ADDR >= CFG_FLASH_BASE + FLASH_BANK_SIZE
 	flash_protect ( FLAG_PROTECT_SET,
 	flash_protect ( FLAG_PROTECT_SET,
 			CFG_ENV_ADDR,
 			CFG_ENV_ADDR,

+ 2 - 2
board/stxgp3/flash.c

@@ -41,7 +41,7 @@
 
 
 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	*/
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -99,7 +99,7 @@ unsigned long flash_init (void)
 		      CFG_MONITOR_BASE+monitor_flash_len-1,
 		      CFG_MONITOR_BASE+monitor_flash_len-1,
 		      &flash_info[0]);
 		      &flash_info[0]);
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,

+ 2 - 2
board/svm_sc8xx/flash.c

@@ -152,7 +152,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,
@@ -179,7 +179,7 @@ unsigned long flash_init (void)
 			      &flash_info[1]);
 			      &flash_info[1]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 1 - 1
board/tqc/tqm5200/cam5200_flash.c

@@ -768,7 +768,7 @@ unsigned long flash_init(void)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
 				    &flash_info[i]);
 				    &flash_info[i]);
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 				    &flash_info[i]);
 				    &flash_info[i]);

+ 1 - 1
board/tqc/tqm8260/flash.c

@@ -207,7 +207,7 @@ unsigned long flash_init (void)
 		       CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]);
 		       CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 # ifndef  CFG_ENV_SIZE
 # ifndef  CFG_ENV_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 #  define CFG_ENV_SIZE	CFG_ENV_SECT_SIZE
 # endif
 # endif

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

@@ -176,7 +176,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 # ifdef CFG_ENV_ADDR_REDUND
 # ifdef CFG_ENV_ADDR_REDUND
 	debug ("Protect primary   environment: %08lx ... %08lx\n",
 	debug ("Protect primary   environment: %08lx ... %08lx\n",
@@ -229,7 +229,7 @@ unsigned long flash_init (void)
 			      &flash_info[1]);
 			      &flash_info[1]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 2 - 2
board/utx8245/flash.c

@@ -33,7 +33,7 @@
 #define ROM_CS0_START	0xFF800000
 #define ROM_CS0_START	0xFF800000
 #define ROM_CS1_START	0xFF000000
 #define ROM_CS1_START	0xFF000000
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -169,7 +169,7 @@ unsigned long flash_init (void)
 				   &flash_info[0]);
 				   &flash_info[0]);
 #endif
 #endif
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
+#if defined(CONFIG_ENV_IS_IN_FLASH) && defined(CFG_ENV_ADDR)
 	flash_protect (FLAG_PROTECT_SET, CFG_ENV_ADDR,
 	flash_protect (FLAG_PROTECT_SET, CFG_ENV_ADDR,
 			CFG_ENV_ADDR + CFG_ENV_SIZE - 1, &flash_info[0]);
 			CFG_ENV_ADDR + CFG_ENV_SIZE - 1, &flash_info[0]);
 #endif
 #endif

+ 3 - 3
board/westel/amx860/flash.c

@@ -26,7 +26,7 @@
 
 
 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	*/
 
 
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef  CFG_ENV_ADDR
 # ifndef  CFG_ENV_ADDR
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 #  define CFG_ENV_ADDR	(CFG_FLASH_BASE + CFG_ENV_OFFSET)
 # endif
 # endif
@@ -134,7 +134,7 @@ unsigned long flash_init (void)
 		      &flash_info[0]);
 		      &flash_info[0]);
 #endif
 #endif
 
 
-#ifdef	CFG_ENV_IS_IN_FLASH
+#ifdef	CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
 	flash_protect(FLAG_PROTECT_SET,
 		      CFG_ENV_ADDR,
 		      CFG_ENV_ADDR,
@@ -166,7 +166,7 @@ unsigned long flash_init (void)
 			      &flash_info[1]);
 			      &flash_info[1]);
 # endif
 # endif
 
 
-# ifdef CFG_ENV_IS_IN_FLASH
+# ifdef CONFIG_ENV_IS_IN_FLASH
 		/* ENV protection ON by default */
 		/* ENV protection ON by default */
 		flash_protect(FLAG_PROTECT_SET,
 		flash_protect(FLAG_PROTECT_SET,
 			      CFG_ENV_ADDR,
 			      CFG_ENV_ADDR,

+ 1 - 1
common/cmd_nvedit.c

@@ -54,7 +54,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 
 #if !defined(CONFIG_ENV_IS_IN_NVRAM)	&& \
 #if !defined(CONFIG_ENV_IS_IN_NVRAM)	&& \
     !defined(CONFIG_ENV_IS_IN_EEPROM)	&& \
     !defined(CONFIG_ENV_IS_IN_EEPROM)	&& \
-    !defined(CFG_ENV_IS_IN_FLASH)	&& \
+    !defined(CONFIG_ENV_IS_IN_FLASH)	&& \
     !defined(CONFIG_ENV_IS_IN_DATAFLASH)	&& \
     !defined(CONFIG_ENV_IS_IN_DATAFLASH)	&& \
     !defined(CONFIG_ENV_IS_IN_NAND)	&& \
     !defined(CONFIG_ENV_IS_IN_NAND)	&& \
     !defined(CONFIG_ENV_IS_IN_ONENAND)	&& \
     !defined(CONFIG_ENV_IS_IN_ONENAND)	&& \

+ 2 - 2
common/env_flash.c

@@ -28,7 +28,7 @@
 
 
 #include <common.h>
 #include <common.h>
 
 
-#if defined(CFG_ENV_IS_IN_FLASH) /* Environment is in Flash */
+#if defined(CONFIG_ENV_IS_IN_FLASH) /* Environment is in Flash */
 
 
 #include <command.h>
 #include <command.h>
 #include <environment.h>
 #include <environment.h>
@@ -384,4 +384,4 @@ void env_relocate_spec (void)
 #endif /* ! ENV_IS_EMBEDDED || CFG_ENV_ADDR_REDUND */
 #endif /* ! ENV_IS_EMBEDDED || CFG_ENV_ADDR_REDUND */
 }
 }
 
 
-#endif /* CFG_ENV_IS_IN_FLASH */
+#endif /* CONFIG_ENV_IS_IN_FLASH */

+ 2 - 2
drivers/mtd/cfi_flash.c

@@ -255,7 +255,7 @@ u64 flash_read64(void *addr)__attribute__((weak, alias("__flash_read64")));
 
 
 /*-----------------------------------------------------------------------
 /*-----------------------------------------------------------------------
  */
  */
-#if defined(CFG_ENV_IS_IN_FLASH) || defined(CFG_ENV_ADDR_REDUND) || (CFG_MONITOR_BASE >= CFG_FLASH_BASE)
+#if defined(CONFIG_ENV_IS_IN_FLASH) || defined(CFG_ENV_ADDR_REDUND) || (CFG_MONITOR_BASE >= CFG_FLASH_BASE)
 static flash_info_t *flash_get_info(ulong base)
 static flash_info_t *flash_get_info(ulong base)
 {
 {
 	int i;
 	int i;
@@ -2031,7 +2031,7 @@ unsigned long flash_init (void)
 #endif
 #endif
 
 
 	/* Environment protection ON by default */
 	/* Environment protection ON by default */
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 	flash_protect (FLAG_PROTECT_SET,
 	flash_protect (FLAG_PROTECT_SET,
 		       CFG_ENV_ADDR,
 		       CFG_ENV_ADDR,
 		       CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
 		       CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,

+ 1 - 1
include/configs/A3000.h

@@ -297,7 +297,7 @@
 	/* Warining: environment is not EMBEDDED in the U-Boot code.
 	/* Warining: environment is not EMBEDDED in the U-Boot code.
 	 * It's stored in flash separately.
 	 * It's stored in flash separately.
 	 */
 	 */
-#define CFG_ENV_IS_IN_FLASH	    1
+#define CONFIG_ENV_IS_IN_FLASH	    1
 #define CFG_ENV_ADDR		0xFFFE0000
 #define CFG_ENV_ADDR		0xFFFE0000
 #define CFG_ENV_SIZE		0x00020000 /* Size of the Environment		*/
 #define CFG_ENV_SIZE		0x00020000 /* Size of the Environment		*/
 #define CFG_ENV_SECT_SIZE	0x00020000 /* Size of the Environment Sector	*/
 #define CFG_ENV_SECT_SIZE	0x00020000 /* Size of the Environment Sector	*/

+ 1 - 1
include/configs/ADCIOP.h

@@ -170,7 +170,7 @@
 
 
 #else /* Use FLASH for environment variables */
 #else /* Use FLASH for environment variables */
 
 
-#define CFG_ENV_IS_IN_FLASH	1
+#define CONFIG_ENV_IS_IN_FLASH	1
 #define CFG_ENV_OFFSET		0x00010000	/* Offset of Environment Sector */
 #define CFG_ENV_OFFSET		0x00010000	/* Offset of Environment Sector */
 #define CFG_ENV_SIZE		0x1000	/* Total Size of Environment Sector	*/
 #define CFG_ENV_SIZE		0x1000	/* Total Size of Environment Sector	*/
 
 

+ 1 - 1
include/configs/ADNPESC1.h

@@ -116,7 +116,7 @@
  *----------------------------------------------------------------------*/
  *----------------------------------------------------------------------*/
 #if	(CFG_NIOS_CPU_FLASH_SIZE != 0)
 #if	(CFG_NIOS_CPU_FLASH_SIZE != 0)
 
 
-#define	CFG_ENV_IS_IN_FLASH	1		/* Environment in flash */
+#define	CONFIG_ENV_IS_IN_FLASH	1		/* Environment in flash */
 
 
 /* Mem addr of environment */
 /* Mem addr of environment */
 #if	defined(CONFIG_NIOS_BASE_32)
 #if	defined(CONFIG_NIOS_BASE_32)

+ 1 - 1
include/configs/AMX860.h

@@ -199,7 +199,7 @@
 #define CFG_FLASH_ERASE_TOUT	120000	/* Timeout for Flash Erase (in ms)	*/
 #define CFG_FLASH_ERASE_TOUT	120000	/* Timeout for Flash Erase (in ms)	*/
 #define CFG_FLASH_WRITE_TOUT	500	/* Timeout for Flash Write (in ms)	*/
 #define CFG_FLASH_WRITE_TOUT	500	/* Timeout for Flash Write (in ms)	*/
 
 
-#define	CFG_ENV_IS_IN_FLASH	1
+#define	CONFIG_ENV_IS_IN_FLASH	1
 #define	CFG_ENV_OFFSET		0x8000	/*   Offset   of Environment Sector	*/
 #define	CFG_ENV_OFFSET		0x8000	/*   Offset   of Environment Sector	*/
 #define	CFG_ENV_SIZE		0x4000	/* Total Size of Environment Sector	*/
 #define	CFG_ENV_SIZE		0x4000	/* Total Size of Environment Sector	*/
 
 

+ 4 - 4
include/configs/AP1000.h

@@ -37,13 +37,13 @@
 #define CONFIG_COMMAND_HISTORY	1
 #define CONFIG_COMMAND_HISTORY	1
 #define CONFIG_COMPLETE_ADDRESSES 1
 #define CONFIG_COMPLETE_ADDRESSES 1
 
 
-#define CFG_ENV_IS_IN_FLASH	1
+#define CONFIG_ENV_IS_IN_FLASH	1
 #define CFG_FLASH_USE_BUFFER_WRITE
 #define CFG_FLASH_USE_BUFFER_WRITE
 
 
 #ifdef CONFIG_ENV_IS_IN_NVRAM
 #ifdef CONFIG_ENV_IS_IN_NVRAM
-#undef CFG_ENV_IS_IN_FLASH
+#undef CONFIG_ENV_IS_IN_FLASH
 #else
 #else
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 #undef CONFIG_ENV_IS_IN_NVRAM
 #undef CONFIG_ENV_IS_IN_NVRAM
 #endif
 #endif
 #endif
 #endif
@@ -174,7 +174,7 @@
 #define CFG_FLASH_PROTECTION	1	/* use hardware protection	    */
 #define CFG_FLASH_PROTECTION	1	/* use hardware protection	    */
 
 
 /* BEG ENVIRONNEMENT FLASH */
 /* BEG ENVIRONNEMENT FLASH */
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
 #define CFG_ENV_OFFSET		0x00040000 /* Offset of Environment Sector	*/
 #define CFG_ENV_OFFSET		0x00040000 /* Offset of Environment Sector	*/
 #define CFG_ENV_SIZE		0x1000	/* Total Size of Environment Sector */
 #define CFG_ENV_SIZE		0x1000	/* Total Size of Environment Sector */
 #define CFG_ENV_SECT_SIZE	0x20000 /* see README - env sector total size	*/
 #define CFG_ENV_SECT_SIZE	0x20000 /* see README - env sector total size	*/

+ 1 - 1
include/configs/AR405.h

@@ -205,7 +205,7 @@
 
 
 #define CFG_FLASH_EMPTY_INFO		/* print 'E' for empty sector on flinfo */
 #define CFG_FLASH_EMPTY_INFO		/* print 'E' for empty sector on flinfo */
 
 
-#define CFG_ENV_IS_IN_FLASH	1
+#define CONFIG_ENV_IS_IN_FLASH	1
 #define CFG_ENV_ADDR		0xFFFB0000	/* Address of Environment Sector*/
 #define CFG_ENV_ADDR		0xFFFB0000	/* Address of Environment Sector*/
 #define CFG_ENV_SECT_SIZE	0x10000 /* see README - env sector total size	*/
 #define CFG_ENV_SECT_SIZE	0x10000 /* see README - env sector total size	*/
 #define CFG_ENV_SIZE		0x04000	        /* Size of Environment	        */
 #define CFG_ENV_SIZE		0x04000	        /* Size of Environment	        */

+ 1 - 1
include/configs/ATUM8548.h

@@ -333,7 +333,7 @@
 /*
 /*
  * Environment
  * Environment
  */
  */
-#define CFG_ENV_IS_IN_FLASH	1
+#define CONFIG_ENV_IS_IN_FLASH	1
 #define CFG_ENV_ADDR		(CFG_MONITOR_BASE + 0x40000)
 #define CFG_ENV_ADDR		(CFG_MONITOR_BASE + 0x40000)
 #define CFG_ENV_SECT_SIZE	0x40000	/* 256K(one sector) for env */
 #define CFG_ENV_SECT_SIZE	0x40000	/* 256K(one sector) for env */
 #define CFG_ENV_SIZE		0x2000
 #define CFG_ENV_SIZE		0x2000

+ 1 - 1
include/configs/Adder.h

@@ -148,7 +148,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 */
 
 
 /* Environment is in flash */
 /* Environment is in flash */
-#define CFG_ENV_IS_IN_FLASH
+#define CONFIG_ENV_IS_IN_FLASH
 #define CFG_ENV_SECT_SIZE	0x10000		/* We use one complete sector	*/
 #define CFG_ENV_SECT_SIZE	0x10000		/* We use one complete sector	*/
 #define CFG_ENV_ADDR		(CFG_MONITOR_BASE + CFG_MONITOR_LEN)
 #define CFG_ENV_ADDR		(CFG_MONITOR_BASE + CFG_MONITOR_LEN)
 
 

+ 4 - 4
include/configs/Alaska8220.h

@@ -205,7 +205,7 @@
 /*
 /*
  * Environment settings
  * Environment settings
  */
  */
-#define CFG_ENV_IS_IN_FLASH	1
+#define CONFIG_ENV_IS_IN_FLASH	1
 #if defined (CFG_AMD_BOOT)
 #if defined (CFG_AMD_BOOT)
 #define CFG_ENV_ADDR		(CFG_FLASH0_BASE + CFG_CS0_MASK - PHYS_AMD_SECT_SIZE)
 #define CFG_ENV_ADDR		(CFG_FLASH0_BASE + CFG_CS0_MASK - PHYS_AMD_SECT_SIZE)
 #define CFG_ENV_SIZE		PHYS_AMD_SECT_SIZE
 #define CFG_ENV_SIZE		PHYS_AMD_SECT_SIZE
@@ -224,15 +224,15 @@
 
 
 #define CONFIG_ENV_OVERWRITE	1
 #define CONFIG_ENV_OVERWRITE	1
 
 
-#if defined CFG_ENV_IS_IN_FLASH
+#if defined CONFIG_ENV_IS_IN_FLASH
 #undef CONFIG_ENV_IS_IN_NVRAM
 #undef CONFIG_ENV_IS_IN_NVRAM
 #undef CONFIG_ENV_IS_IN_EEPROM
 #undef CONFIG_ENV_IS_IN_EEPROM
 #elif defined CONFIG_ENV_IS_IN_NVRAM
 #elif defined CONFIG_ENV_IS_IN_NVRAM
-#undef CFG_ENV_IS_IN_FLASH
+#undef CONFIG_ENV_IS_IN_FLASH
 #undef CONFIG_ENV_IS_IN_EEPROM
 #undef CONFIG_ENV_IS_IN_EEPROM
 #elif defined CONFIG_ENV_IS_IN_EEPROM
 #elif defined CONFIG_ENV_IS_IN_EEPROM
 #undef CONFIG_ENV_IS_IN_NVRAM
 #undef CONFIG_ENV_IS_IN_NVRAM
-#undef CFG_ENV_IS_IN_FLASH
+#undef CONFIG_ENV_IS_IN_FLASH
 #endif
 #endif
 
 
 /*
 /*

+ 1 - 1
include/configs/BC3450.h

@@ -358,7 +358,7 @@
 /*
 /*
  * Environment settings
  * Environment settings
  */
  */
-#define CFG_ENV_IS_IN_FLASH	1
+#define CONFIG_ENV_IS_IN_FLASH	1
 #define CFG_ENV_SIZE		0x10000
 #define CFG_ENV_SIZE		0x10000
 #define CFG_ENV_SECT_SIZE	0x20000
 #define CFG_ENV_SECT_SIZE	0x20000
 #define CFG_ENV_ADDR_REDUND	(CFG_ENV_ADDR + CFG_ENV_SECT_SIZE)
 #define CFG_ENV_ADDR_REDUND	(CFG_ENV_ADDR + CFG_ENV_SECT_SIZE)

+ 1 - 1
include/configs/CANBT.h

@@ -155,7 +155,7 @@
 
 
 #if 0 /* Use FLASH for environment variables */
 #if 0 /* Use FLASH for environment variables */
 
 
-#define CFG_ENV_IS_IN_FLASH	1
+#define CONFIG_ENV_IS_IN_FLASH	1
 #define CFG_ENV_OFFSET		0x00010000	/* Offset of Environment Sector */
 #define CFG_ENV_OFFSET		0x00010000	/* Offset of Environment Sector */
 #define CFG_ENV_SIZE		0x1000	/* Total Size of Environment Sector	*/
 #define CFG_ENV_SIZE		0x1000	/* Total Size of Environment Sector	*/
 
 

+ 1 - 1
include/configs/CATcenter.h

@@ -393,7 +393,7 @@
 /*-----------------------------------------------------------------------
 /*-----------------------------------------------------------------------
  * Environment Variable setup
  * Environment Variable setup
  */
  */
-#define CFG_ENV_IS_IN_FLASH	1	/* use FLASH for environment vars */
+#define CONFIG_ENV_IS_IN_FLASH	1	/* use FLASH for environment vars */
 #define CFG_ENV_ADDR		0xFFFF8000	/* environment starts at the first small sector */
 #define CFG_ENV_ADDR		0xFFFF8000	/* environment starts at the first small sector */
 #define CFG_ENV_SECT_SIZE	0x2000	/* 8196 bytes may be used for env vars*/
 #define CFG_ENV_SECT_SIZE	0x2000	/* 8196 bytes may be used for env vars*/
 #define CFG_ENV_ADDR_REDUND	0xFFFFA000
 #define CFG_ENV_ADDR_REDUND	0xFFFFA000

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