board/amcc/common/flash.c: Fix compile warning
authorWolfgang Denk <wd@denx.de>
Fri, 11 Sep 2009 09:30:34 +0000 (11:30 +0200)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:25 +0000 (09:04 -0500)
commitd181074a587a6d0f9d17ccd53689fd17ce0e93a1
tree4f97fab991f37c9d45f4ca658422ea7a06f3ef4f
parent5b92558aaa91fc1eadcf839de70a295583f7e3fe
board/amcc/common/flash.c: Fix compile warning

Fix warning: ../common/flash.c:917: warning: dereferencing type-punned
pointer will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
board/amcc/common/flash.c