ARM: imx: replicate the diagnostic register of boot cpu into secondary cores
authorShawn Guo <shawn.guo@linaro.org>
Tue, 16 Apr 2013 14:11:19 +0000 (22:11 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 12 May 2013 13:39:18 +0000 (21:39 +0800)
The diagnostic register holds the errata bits.  Mostly bootloader
does not bring up secondary cores, so that when errata bits are set
in bootloader, they are set only for boot cpu.  But on a SMP
configuration, it should be equally done on every single core.
Set up the diagnostic register for secondary cores by replicating
the register from boot cpu.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
arch/arm/mach-imx/headsmp.S
arch/arm/mach-imx/platsmp.c

Simple merge
Simple merge