[U-Boot] [PATCH 1/2] TQM834x: remove defines causing gcc4.4 warnings

Kim Phillips kim.phillips at freescale.com
Tue May 19 19:53:32 CEST 2009


Configuring for TQM834x board...
cpu_init.c: In function 'cpu_init_f':
cpu_init.c:262: warning: array subscript is above array bounds
cpu_init.c:263: warning: array subscript is above array bounds
cpu_init.c:270: warning: array subscript is above array bounds
...

Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
---
WD, since 2/2 in this series is common, please apply 1-2/2 directly.

Thanks,

Kim

 include/configs/TQM834x.h |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index b74b404..5ca8720 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -140,26 +140,6 @@ extern int tqm834x_num_flash_banks;
 #define CONFIG_SYS_LBLAWBAR3_PRELIM	0x00000000
 #define CONFIG_SYS_LBLAWAR3_PRELIM	0x00000000
 
-#define CONFIG_SYS_BR4_PRELIM		0x00000000
-#define CONFIG_SYS_OR4_PRELIM		0x00000000
-#define CONFIG_SYS_LBLAWBAR4_PRELIM	0x00000000
-#define CONFIG_SYS_LBLAWAR4_PRELIM	0x00000000
-
-#define CONFIG_SYS_BR5_PRELIM		0x00000000
-#define CONFIG_SYS_OR5_PRELIM		0x00000000
-#define CONFIG_SYS_LBLAWBAR5_PRELIM	0x00000000
-#define CONFIG_SYS_LBLAWAR5_PRELIM	0x00000000
-
-#define CONFIG_SYS_BR6_PRELIM		0x00000000
-#define CONFIG_SYS_OR6_PRELIM		0x00000000
-#define CONFIG_SYS_LBLAWBAR6_PRELIM	0x00000000
-#define CONFIG_SYS_LBLAWAR6_PRELIM	0x00000000
-
-#define CONFIG_SYS_BR7_PRELIM		0x00000000
-#define CONFIG_SYS_OR7_PRELIM		0x00000000
-#define CONFIG_SYS_LBLAWBAR7_PRELIM	0x00000000
-#define CONFIG_SYS_LBLAWAR7_PRELIM	0x00000000
-
 /*
  * Monitor config
  */
-- 
1.6.3.1



More information about the U-Boot mailing list