armv8: layerscape: move spin table into own module
authorMichael Walle <michael@walle.cc>
Mon, 1 Jun 2020 19:53:27 +0000 (21:53 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Jul 2020 08:46:27 +0000 (14:16 +0530)
commitf6c62f1c9e11dd01cc76ce53709679b22678a8ec
tree96347ca374ba52fa3ddd7f8fd8f90475999ca0e9
parent3d3fe8b12d1973b207ee0406709ff521eec83bf7
armv8: layerscape: move spin table into own module

Move it out of lowlevel.S into spintable.S. On layerscape, the secondary
CPUs are brought up in main u-boot. This will make it possible to only
compile the spin table code for the main u-boot and omit it in SPL.

This saves about 720 bytes in the SPL.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Makefile
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S
arch/arm/cpu/armv8/fsl-layerscape/spintable.S [new file with mode: 0644]