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)
commit087bb28329f3ccda4e50cb4cf297542d7e773e20
tree4654c4ebd9c2417d3f1264d093686f61cfd2c756
parent0e574461c4c915a065dd75c894edb653ce99be9c
ARM: imx: replicate the diagnostic register of boot cpu into secondary cores

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