cam5200_niosflash: fix build warnings
authorWolfgang Denk <wd@denx.de>
Wed, 24 Nov 2010 21:27:08 +0000 (22:27 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 26 Nov 2010 21:08:18 +0000 (22:08 +0100)
commit84db715ea4b593dcd49ebad72ee647e62e2414cc
tree73010876a0812b96732d0b7b2af79b1059635cc1
parent57d6c589f5045559617d48b7f6eb4658f4fa7bad
cam5200_niosflash: fix build warnings

Fix warnings:

cam5200_flash.c: In function 'write_word_32':
cam5200_flash.c:443: warning: dereferencing type-punned pointer will break strict-aliasing rules
cam5200_flash.c: In function 'write_word_16':
cam5200_flash.c:684: warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
board/tqc/tqm5200/cam5200_flash.c