board/amcc/taihu/flash.c: Fix compile warning
authorWolfgang Denk <wd@denx.de>
Fri, 11 Sep 2009 09:44:39 +0000 (11:44 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 14 Sep 2009 22:28:24 +0000 (00:28 +0200)
commit030ec52f8cc83015f968db30208f4bd07feffa6c
tree402256ce4c7e6a9fb8f36fd465221c3a877012a2
parent0fd3d902d920f3e60f88530c33f1ae7581260951
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