u-boot-brain/board/tqc
Bin Meng 4019e54dc6 powerpc: tqm834x: Fix build warnings in initdram()
With gcc 4.9, it produces the following warnings:

  CC      board/tqc/tqm834x/tqm834x.o
  board/tqc/tqm834x/tqm834x.c: In function 'initdram':
  board/tqc/tqm834x/tqm834x.c:325:12: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
      (((base + size - 1) >> CSBNDS_EA_SHIFT) &
              ^
  board/tqc/tqm834x/tqm834x.c:80:2: note: containing loop
      for(cs = 0; cs < 4; ++cs) {
      ^

There is an integer overflow when cs = 3. To fix it, change
parameters of set_cs_bounds() to ulong.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2016-01-25 10:40:00 -05:00
..
tqm8xx powerpc: Finish updating u-boot*lds scripts for newer binutils 2015-11-10 09:20:29 -05:00
tqm834x powerpc: tqm834x: Fix build warnings in initdram() 2016-01-25 10:40:00 -05:00
tqm5200 Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
tqma6 tqma6_mba6: Fix the error handling in board_eth_init() 2015-09-13 11:05:50 +02:00