]> git.baikalelectronics.ru Git - uboot.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)
commitd853b152a30f23409c170a36e50515a7abdb61de
tree1c13c41cb5379240909a589240aec498cebfebab
parent466f4339d015a940131d16fa6ba6353e22bab8e0
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