u-boot/arch/powerpc/cpu/mpc8260
Scott Wood a166fbca20 powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7
C99's strict aliasing rules are insane to use in low-level code such as a
bootloader, but as Wolfgang has rejected -fno-strict-aliasing in the
past, add a union so that 16-bit accesses can be performed.

Compile-tested only.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Wolfgang Denk <wd@denx.de>
2013-06-11 22:01:45 +02:00
..
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
bedbug_603e.c bedbug_860.c, bedbug_603e.c: Fix return type to silence compile warnings. 2010-09-08 22:02:54 +02:00
commproc.c powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7 2013-06-11 22:01:45 +02:00
config.mk PowerPC: Move -fPIC flag to common place 2011-04-11 21:36:41 +02:00
cpu.c powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7 2013-06-11 22:01:45 +02:00
cpu_init.c ppc: Move reset_status to arch_global_data 2013-02-04 09:05:43 -05:00
ether_fcc.c net: cosmetic: Un-typedef Ethernet_t 2012-05-23 17:46:14 -05:00
ether_scc.c arch/powerpc/cpu/mpc8260/ether_scc.c: Fix compile warning 2012-05-22 23:17:52 -05:00
i2c.c powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7 2013-06-11 22:01:45 +02:00
interrupts.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
kgdb.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pci.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial_scc.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
serial_smc.c powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7 2013-06-11 22:01:45 +02:00
speed.c ppc: Move clock fields to arch_global_data 2013-02-01 15:42:45 -05:00
speed.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
spi.c powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7 2013-06-11 22:01:45 +02:00
start.S Replace __bss_end__ with __bss_end 2013-03-15 16:13:54 -04:00
traps.c arch/powerpc/lib/board.c, *traps.c: sparse fixes 2012-11-04 11:00:35 -07:00
u-boot.lds Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-03-18 14:37:18 -04:00