armv8: layerscape: clean exported symbols in spintable.S
authorMichael Walle <michael@walle.cc>
Mon, 1 Jun 2020 19:53:34 +0000 (21:53 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Jul 2020 08:46:28 +0000 (14:16 +0530)
commit308deab9b13f1aa22f714c855a74527c17356924
tree12ceae7a07f958529d840eb7139689cb0aaa1702
parent2e262111eaa1afc1e0f54b4a72d95b260746cead
armv8: layerscape: clean exported symbols in spintable.S

Add a new variable secondary_boot_code_start, which holds a pointer to
the start of the spin table code. This will help to relocate the code
section. While at it, move the size variable from the end to the
beginning so there is a common section for the variables. Remove any
other symbols.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/arm/cpu/armv8/fsl-layerscape/mp.c
arch/arm/cpu/armv8/fsl-layerscape/spintable.S
arch/arm/include/asm/arch-fsl-layerscape/mp.h