[U-Boot] [PATCH 37/56] board/genietv/flash.c: Fix flash initialization

Wolfgang Denk wd at denx.de
Mon Nov 7 22:14:48 CET 2011


Dear Wolfgang Denk,

In message <1320458160-23136-38-git-send-email-wd at denx.de> you wrote:
> The GENIETV 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:65:12: warning: array subscript is above array bounds
> [-Warray-bounds]
> flash.c:66:12: warning: array subscript is above array bounds
> [-Warray-bounds]
> flash.c:69:12: warning: array subscript is above array bounds
> [-Warray-bounds]
> flash.c:183:2: warning: format '%x' expects argument of type 'unsigned
> int', but argument 2 has type '
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/genietv/flash.c |   14 ++++----------
>  1 files changed, 4 insertions(+), 10 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 is a biblical analogy I'd like to draw here.   Casts are to C++
Programmers what the apple was to Eve.         - Scott Douglas Meyers


More information about the U-Boot mailing list