Re: [U-Boot] [PATCH 35/56] board/etx094/flash.c: Fix flash initialization

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-36-git-send-email...@denx.de> you wrote: > The ETX094 has only one NOR flash bank. Remove all code trying to > deal with a second bank. This also fixes a number of GCC 4.6 build > warnings: > flash.c: In function 'flash_init': > flash.c:68:13: war

[U-Boot] [PATCH 35/56] board/etx094/flash.c: Fix flash initialization

2011-11-04 Thread Wolfgang Denk
The ETX094 has only one NOR flash bank. Remove all code trying to deal with a second bank. This also fixes a number of GCC 4.6 build warnings: flash.c: In function 'flash_init': flash.c:68:13: warning: array subscript is above array bounds [-Warray-bounds] flash.c:70:13: warning: array subscript