[U-Boot] [PATCH 43/56] board/rbc823/flash.c: Fix flash initalization
Wolfgang Denk
wd at denx.de
Mon Nov 7 22:15:37 CET 2011
Dear Wolfgang Denk,
In message <1320458160-23136-44-git-send-email-wd at denx.de> you wrote:
> The RBC823 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:62:12: warning: array subscript is above array bounds
> [-Warray-bounds]
> flash.c:63:12: warning: array subscript is above array bounds
> [-Warray-bounds]
> flash.c:66:12: warning: array subscript is above array bounds
> [-Warray-bounds]
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
> board/rbc823/flash.c | 12 +++---------
> 1 files changed, 3 insertions(+), 9 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
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
There's no future in time travel.
More information about the U-Boot
mailing list