]> git.baikalelectronics.ru Git - uboot.git/commit
sunxi: boot0.h: allow RVBAR MMIO address customisation
authorAndre Przywara <andre.przywara@arm.com>
Thu, 8 Dec 2022 20:33:57 +0000 (20:33 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 11 Apr 2023 23:17:22 +0000 (00:17 +0100)
commitc827a7612d689aad5bc55c33440e0419beaf4e34
tree868bf1e39bf3f880c259f132c1c930d838735f22
parente779217db6ea4b3d12cb0da7dee48d0f9dd909f6
sunxi: boot0.h: allow RVBAR MMIO address customisation

To switch the ARMv8 Allwinner SoCs into the 64-bit AArch64 ISA, we need
to program the 64-bit start code address into an MMIO mapped register
that shadows the architectural RVBAR register.
This address is SoC specific, with just two versions out there so far.
Now a third address emerged, on a *variant* of an existing SoC (H616).

Change the boot0.h start code to make this address a Kconfig
selectable option, to allow easier maintenance.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
arch/arm/include/asm/arch-sunxi/boot0.h
arch/arm/mach-sunxi/Kconfig