@@ -1481,7 +1481,7 @@ Configuration Settings:
s29ws-n MirrorBit flash has non-standard addresses for buffered
write commands.
-- CONFIG_FLASH_SHOW_PROGRESS
+- CFG_FLASH_SHOW_PROGRESS
If defined (must be an integer), print out countdown
digits and dots. Recommended value: 45 (9..1) for 80
column displays, 15 (3..1) for 40 column displays.
@@ -1292,7 +1292,7 @@ void flash_print_info(flash_info_t *info)
* effect updates to digit and dots. Repeated code is nasty too, so
* we define it once here.
*/
-#ifdef CONFIG_FLASH_SHOW_PROGRESS
+#ifdef CFG_FLASH_SHOW_PROGRESS
#define FLASH_SHOW_PROGRESS(scale, dots, digit, dots_sub) \
if (flash_verbose) { \
dots -= dots_sub; \
@@ -1325,17 +1325,17 @@ int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt)
#ifdef CONFIG_SYS_FLASH_USE_BUFFER_WRITE
int buffered_size;
#endif
-#ifdef CONFIG_FLASH_SHOW_PROGRESS
- int digit = CONFIG_FLASH_SHOW_PROGRESS;
+#ifdef CFG_FLASH_SHOW_PROGRESS
+ int digit = CFG_FLASH_SHOW_PROGRESS;
int scale = 0;
int dots = 0;
/*
- * Suppress if there are fewer than CONFIG_FLASH_SHOW_PROGRESS writes.
+ * Suppress if there are fewer than CFG_FLASH_SHOW_PROGRESS writes.
*/
- if (cnt >= CONFIG_FLASH_SHOW_PROGRESS) {
- scale = (int)((cnt + CONFIG_FLASH_SHOW_PROGRESS - 1) /
- CONFIG_FLASH_SHOW_PROGRESS);
+ if (cnt >= CFG_FLASH_SHOW_PROGRESS) {
+ scale = (int)((cnt + CFG_FLASH_SHOW_PROGRESS - 1) /
+ CFG_FLASH_SHOW_PROGRESS);
}
#endif
@@ -161,7 +161,7 @@ extern unsigned long get_sdram_size(void);
#define CFG_SYS_NOR_FTIM3 0x0
#define CFG_SYS_FLASH_BANKS_LIST {CFG_SYS_FLASH_BASE_PHYS}
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
/* CFI for NOR Flash */
@@ -101,7 +101,7 @@
#define PIXIS_LBMAP_SHIFT 4
#define PIXIS_LBMAP_ALTBANK 0x40
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
/* Nand Flash */
#ifdef CONFIG_NAND_FSL_ELBC
@@ -158,7 +158,7 @@
FTIM2_NOR_TWP(0x1c))
#define CFG_SYS_NOR_FTIM3 0x0
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST {CFG_SYS_FLASH_BASE_PHYS}
@@ -126,7 +126,7 @@
FTIM2_NOR_TWP(0x1c))
#define CFG_SYS_NOR_FTIM3 0x0
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST {CFG_SYS_FLASH_BASE_PHYS}
@@ -119,7 +119,7 @@
FTIM2_NOR_TWP(0x1c))
#define CFG_SYS_NOR_FTIM3 0x0
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST {CFG_SYS_FLASH_BASE_PHYS \
+ 0x8000000, CFG_SYS_FLASH_BASE_PHYS}
@@ -114,7 +114,7 @@
FTIM2_NOR_TWP(0x1c))
#define CFG_SYS_NOR_FTIM3 0x0
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST {CFG_SYS_FLASH_BASE_PHYS }
@@ -184,7 +184,7 @@
FTIM2_NOR_TWP(0x1c))
#define CFG_SYS_NOR_FTIM3 0x0
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST {CFG_SYS_FLASH_BASE_PHYS \
+ 0x8000000, CFG_SYS_FLASH_BASE_PHYS}
@@ -25,7 +25,7 @@
#if !defined(CONFIG_MTD_NOR_FLASH)
#define CONFIG_SH_QSPI_BASE 0xE6B10000
#else
-#define CONFIG_FLASH_SHOW_PROGRESS 45
+#define CFG_FLASH_SHOW_PROGRESS 45
#define CFG_SYS_FLASH_BASE 0x00000000
#define CFG_SYS_FLASH_SIZE 0x04000000 /* 64 MB */
#define CFG_SYS_FLASH_BANKS_LIST { (CFG_SYS_FLASH_BASE) }
@@ -13,7 +13,7 @@
/* Environment in eMMC, at the end of 2nd "boot sector" */
-#define CONFIG_FLASH_SHOW_PROGRESS 45
+#define CFG_FLASH_SHOW_PROGRESS 45
#define CFG_SYS_FLASH_BANKS_LIST { 0x08000000 }
#define CFG_SYS_WRITE_SWAPPED_DATA
@@ -84,7 +84,7 @@
/*-----------------------------------------------------------------------
* FLASH organization
*/
-#define CONFIG_FLASH_SHOW_PROGRESS 45
+#define CFG_FLASH_SHOW_PROGRESS 45
#define CFG_SYS_FLASH_BASE CFG_SYS_CS0_BASE
#define CFG_SYS_INT_FLASH_BASE 0xF0000000
@@ -15,7 +15,7 @@
/* Environment in eMMC, at the end of 2nd "boot sector" */
-#define CONFIG_FLASH_SHOW_PROGRESS 45
+#define CFG_FLASH_SHOW_PROGRESS 45
#define CFG_SYS_FLASH_BANKS_LIST { 0x08000000 }
#define CFG_SYS_WRITE_SWAPPED_DATA
@@ -61,7 +61,7 @@
FTIM2_NOR_TWP(0xb))
#define CFG_SYS_NOR_FTIM3 0
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST { CFG_SYS_FLASH_BASE_PHYS }
@@ -60,7 +60,7 @@
FTIM2_NOR_TWP(0x1c))
#define CFG_SYS_NOR_FTIM3 0
-#define CONFIG_FLASH_SHOW_PROGRESS 45
+#define CFG_FLASH_SHOW_PROGRESS 45
#define CFG_SYS_WRITE_SWAPPED_DATA
#define CFG_SYS_FLASH_BANKS_LIST {CFG_SYS_FLASH_BASE_PHYS, \
@@ -92,7 +92,7 @@
FTIM2_NOR_TWPH(0x0e))
#define CFG_SYS_NOR_FTIM3 0
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST { CFG_SYS_FLASH_BASE_PHYS }
@@ -92,7 +92,7 @@
#define CFG_SYS_FLASH_BASE_PHYS_EARLY 0x00000000
#ifdef CONFIG_MTD_NOR_FLASH
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#endif
#endif
#endif
@@ -43,7 +43,7 @@
#define CFG_SYS_FLASH_BASE_PHYS_EARLY 0x00000000
#ifdef CONFIG_MTD_NOR_FLASH
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#endif
#endif
@@ -62,7 +62,7 @@
#define CFG_SYS_IFC_CCR 0x01000000
#ifndef SYS_NO_FLASH
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST { CFG_SYS_FLASH_BASE,\
CFG_SYS_FLASH_BASE + 0x40000000}
@@ -47,7 +47,7 @@
#define CFG_SYS_IFC_CCR 0x01000000
#ifndef SYS_NO_FLASH
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST { CFG_SYS_FLASH_BASE }
#endif
@@ -64,7 +64,7 @@
#define CFG_SYS_IFC_CCR 0x01000000
#ifdef CONFIG_MTD_NOR_FLASH
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST { CFG_SYS_FLASH_BASE,\
CFG_SYS_FLASH_BASE + 0x40000000}
@@ -61,7 +61,7 @@
#define CFG_SYS_IFC_CCR 0x01000000
#ifdef CONFIG_MTD_NOR_FLASH
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
#define CFG_SYS_FLASH_BANKS_LIST { CFG_SYS_FLASH_BASE,\
CFG_SYS_FLASH_BASE + 0x40000000}
@@ -199,7 +199,7 @@
#define CFG_FLASH_OR_PRELIM 0xfc000ff7
#define CFG_SYS_FLASH_BANKS_LIST {CFG_SYS_FLASH_BASE_PHYS}
-#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
+#define CFG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
/* Nand Flash */
#ifdef CONFIG_NAND_FSL_ELBC
@@ -13,7 +13,7 @@
/* Environment in eMMC, at the end of 2nd "boot sector" */
-#define CONFIG_FLASH_SHOW_PROGRESS 45
+#define CFG_FLASH_SHOW_PROGRESS 45
#define CFG_SYS_FLASH_BANKS_LIST { 0x08000000 }
#define CFG_SYS_WRITE_SWAPPED_DATA
@@ -13,7 +13,7 @@
/* Environment in eMMC, at the end of 2nd "boot sector" */
-#define CONFIG_FLASH_SHOW_PROGRESS 45
+#define CFG_FLASH_SHOW_PROGRESS 45
#define CFG_SYS_FLASH_BANKS_LIST { 0x08000000 }
#define CFG_SYS_WRITE_SWAPPED_DATA
@@ -36,7 +36,7 @@
/* NOR */
#ifdef CONFIG_MTD_NOR_FLASH
-# define CONFIG_FLASH_SHOW_PROGRESS 10
+# define CFG_FLASH_SHOW_PROGRESS 10
#endif
#ifdef CONFIG_USB_EHCI_ZYNQ
@@ -31,7 +31,7 @@ CFG_FEC_MXC_PHYADDR
CFG_FLASH_BR_PRELIM
CFG_FLASH_OR_PRELIM
CFG_FLASH_SECTOR_SIZE
-CONFIG_FLASH_SHOW_PROGRESS
+CFG_FLASH_SHOW_PROGRESS
CONFIG_FLASH_SPANSION_S29WS_N
CONFIG_FLASH_VERIFY
CONFIG_FM_PLAT_CLK_DIV
Signed-off-by: Tom Rini <trini@konsulko.com> --- README | 2 +- drivers/mtd/cfi_flash.c | 14 +++++++------- include/configs/P1010RDB.h | 2 +- include/configs/P2041RDB.h | 2 +- include/configs/T102xRDB.h | 2 +- include/configs/T104xRDB.h | 2 +- include/configs/T208xQDS.h | 2 +- include/configs/T208xRDB.h | 2 +- include/configs/T4240RDB.h | 2 +- include/configs/blanche.h | 2 +- include/configs/draak.h | 2 +- include/configs/eb_cpu5282.h | 2 +- include/configs/ebisu.h | 2 +- include/configs/km/pg-wcom-ls102xa.h | 2 +- include/configs/ls1021aqds.h | 2 +- include/configs/ls1021atwr.h | 2 +- include/configs/ls1043a_common.h | 2 +- include/configs/ls1046aqds.h | 2 +- include/configs/ls1088aqds.h | 2 +- include/configs/ls1088ardb.h | 2 +- include/configs/ls2080aqds.h | 2 +- include/configs/ls2080ardb.h | 2 +- include/configs/p1_p2_rdb_pc.h | 2 +- include/configs/salvator-x.h | 2 +- include/configs/ulcb.h | 2 +- include/configs/zynq-common.h | 2 +- scripts/config_whitelist.txt | 2 +- 27 files changed, 33 insertions(+), 33 deletions(-)