armv8: fsl-layerscape: SMP support for loading 32-bit OS
authorAlison Wang <b18965@freescale.com>
Thu, 10 Nov 2016 02:49:04 +0000 (10:49 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 22 Nov 2016 19:40:24 +0000 (11:40 -0800)
commite2c18e40b111470fbe1aca47b58570099695f10a
tree8dfe3aa38868f70e14ba5d817f4a158e5636d74c
parentec6617c39741adc6c54952564579e32c3c09c66f
armv8: fsl-layerscape: SMP support for loading 32-bit OS

Spin-table method is used for secondary cores to load 32-bit OS. The
architecture information will be got through checking FIT image and
saved in the os_arch element of spin-table, then the secondary cores
will check os_arch and jump to 32-bit OS or 64-bit OS automatically.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
Signed-off-by: Chenhui Zhao <chenhui.zhao@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/mp.c
arch/arm/include/asm/arch-fsl-layerscape/mp.h
arch/arm/lib/bootm.c