diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2021-01-11 23:11:48 +0300 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-01-26 00:52:01 +0300 |
commit | 3d594efdd0df23d0b38b55da929c004a4f1dca67 (patch) | |
tree | 71eb9b027fc3f7bc68273f09170a0f474f3ac105 | |
parent | 8ec293e0639a0706f795ad08bcd3f89f068faf55 (diff) | |
download | u-boot-3d594efdd0df23d0b38b55da929c004a4f1dca67.tar.xz |
sunxi: Add H616 FEL support
H616 uses different address for reset. Add it.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r-- | arch/arm/cpu/armv8/fel_utils.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/fel_utils.S b/arch/arm/cpu/armv8/fel_utils.S index 9510dcd9e4..7def44ad1d 100644 --- a/arch/arm/cpu/armv8/fel_utils.S +++ b/arch/arm/cpu/armv8/fel_utils.S @@ -40,7 +40,10 @@ ENTRY(return_to_fel) str w2, [x1] ldr x0, =0xfa50392f // CPU hotplug magic -#ifdef CONFIG_MACH_SUN50I_H6 +#ifdef CONFIG_MACH_SUN50I_H616 + ldr x2, =(SUNXI_R_CPUCFG_BASE + 0x1c0) + str w0, [x2], #0x4 +#elif CONFIG_MACH_SUN50I_H6 ldr x2, =(SUNXI_RTC_BASE + 0x1b8) // BOOT_CPU_HP_FLAG_REG str w0, [x2], #0x4 #else |