]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: armv8: fel: load only 32-bit values
authorAndre Przywara <andre.przywara@arm.com>
Wed, 13 Jul 2022 15:27:56 +0000 (16:27 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Sat, 21 Jan 2023 01:32:23 +0000 (01:32 +0000)
commit4871650c95324c3a8697eab213ed327895b53082
tree1c13c41cb5379240909a589240aec498cebfebab
parent3baa0fbe6b196f93e0528b94be8d5ccee5cfc9ff
sunxi: armv8: fel: load only 32-bit values

Both the values and the MMIO addresses that we need during the 64-bit FEL
restore are smaller than 2^32, so we don't need to do any 64-bit loads.

Change the loads to only load 32 bits worth of data, that saves us some
bytes for storing the values.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Tested-by: Samuel Holland <samuel@sholland.org>
arch/arm/cpu/armv8/fel_utils.S