]> git.sur5r.net Git - u-boot/commit
board/amcc/taihu/flash.c: Fix compile warning
authorWolfgang Denk <wd@denx.de>
Fri, 11 Sep 2009 09:44:39 +0000 (11:44 +0200)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:24 +0000 (09:04 -0500)
commit281c798c5ae0e86f284b78302e6947ce902a1dc7
treebdb56cbd6df802f74224b70ba6f39cd102732d56
parent2dce9d63b32a16dc504cb85d82d56c899c0db3b8
board/amcc/taihu/flash.c: Fix compile warning

Fix warnings:
flash.c: In function 'write_word_1':
flash.c:696: warning: dereferencing type-punned pointer will break strict-aliasing rules
flash.c: In function 'write_word_2':
flash.c:1044: 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/taihu/flash.c