u-boot/arch
Andre Przywara 0a137ac501 sunxi: arm64: boot0.h: runtime check for RVBAR address
Some SoCs of the H616 family use a die variant, that puts some CPU power
and reset control registers at a different address. There are examples
of two instances of the same board, using different die revisions of the
otherwise same H313 SoC. We need to write to a register in that block
*very* early in the SPL boot, to switch the core to AArch64.

Since the devices are otherwise indistinguishable, let the SPL code read
that die variant and use the respective RVBAR address based on that.
That is a bit tricky, since we need to do that in hand-coded AArch32
machine language, shared by all 64-bit SoCs. To avoid build dependencies
in this mess, we always provide two addresses to choose from, and just
give identical values for all other SoCs. This allows the same code to
run on all 64-bit SoCs, and controls this switch behaviour purely from
Kconfig.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
2023-04-12 00:17:22 +01:00
..
arc dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
arm sunxi: arm64: boot0.h: runtime check for RVBAR address 2023-04-12 00:17:22 +01:00
m68k m68k: dts: add i2c nodes 2023-04-11 06:52:05 +02:00
microblaze microblaze: drop remnants of manual reloc 2023-03-13 11:46:17 +01:00
mips dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
nios2 dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
powerpc mpc83xx: Remove CONFIG_SYS_GPIO{1/2}_PRELIM and related 2023-03-29 13:30:29 -04:00
riscv riscv: semihosting: replace inline assembly with assembly file 2023-03-06 19:24:34 -05:00
sandbox sandbox: video: Fix building without SDL 2023-04-07 17:43:36 +02:00
sh dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
x86 Merge branch 'master' into next 2023-03-27 15:19:57 -04:00
xtensa
.gitignore
Kconfig arch: enable private libgcc for m68k 2023-03-15 01:38:19 +01:00
Kconfig.nxp
u-boot-elf.lds