Skip to contentSkip to conversation

TQM834x: remove defines causing gcc4.4 warnings

PATCH New Kim Phillips 2 participants 2 messages May 19, 2009 – May 20, 2009

lore
Share & tools
lore
#0 lore raw

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
...

---
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(-)
include/configs/TQM834x.h +0 -20
index b74b404..5ca8720 100644
@@ -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
  */
Signature · 1 line
1.6.3.1
#1 lore raw

PATCH 1/2 TQM834x: remove defines causing gcc4.4 warnings

Dear Kim Phillips,

Quoted 10 lines · In message <[email protected]> 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
...

---
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

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
 The software required `Windows 95 or better', so I installed Linux.