MPC8xx: Fixup warning in arch/powerpc/cpu/mpc8xx/cpu.c
authorMarek Vasut <marex@denx.de>
Fri, 27 Jul 2012 22:57:12 +0000 (00:57 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 30 Jul 2012 07:58:02 +0000 (09:58 +0200)
commit15ae8a31ca5d3860b0957edec4fca373daff6bb5
tree26c24f5074825eb97b25176c3ed6e8e5e2baf837
parent702e6014f15b307f144fa03ecaf83a8446c6802a
MPC8xx: Fixup warning in arch/powerpc/cpu/mpc8xx/cpu.c

cpu.c: In function ‘check_CPU’:
cpu.c:256:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Subject slightly changed.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Tested on TQM855MDCBAB7-T66.102 (MPC855T at 66 MHz) and
TQM860LDB0A3-T50.202 (MPC860T at 50MHz).

Tested-by: Wolfgang Denk <wd@denx.de>
Acked-by: Wolfgang Denk <wd@denx.de>
arch/powerpc/cpu/mpc8xx/cpu.c