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

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@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 */

Dear Kim Phillips,
In message 20090519125332.6213e92b.kim.phillips@freescale.com you wrote:
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@freescale.com
WD, since 2/2 in this series is common, please apply 1-2/2 directly.
Done (applied to master), although I don't really understand why these two patches are a series - they look completely unrelated to me.
Best regards,
Wolfgang Denk
participants (2)
-
Kim Phillips
-
Wolfgang Denk