aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ls1043a_common.h
diff options
context:
space:
mode:
authorMichael Walle2020-06-01 21:53:36 +0200
committerPriyanka Jain2020-07-27 14:16:28 +0530
commitdd6df64c68279e5ba29b8a96b544ebce4c4bd6d1 (patch)
tree1b505d82985a39e56e07293dabefa7d56a6d5c65 /include/configs/ls1043a_common.h
parent16863da82ad1df862778f42a8cb2500d6fd843c2 (diff)
armv8: layerscape: rework spin table
There are two issues: (1) The spin table doesn't convert the endianness of the jump address. Although there is code for it, the result isn't used at all (x0). (2) If something goes wrong, the function returns. But that doesn't make sense at all. Use the actual converted jump address as destination to fix. If there is an error, jump to a trap loop. And rearrange the code exception level switching code to make it smaller and clearer. This reduces the size of the spin table code section from 696 bytes to 424 bytes. If CONFIG_ARMV8_SWITCH_TO_EL1 the code size reduced from 696 bytes to 632 bytes. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/configs/ls1043a_common.h')
0 files changed, 0 insertions, 0 deletions