summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/fel_utils.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/armv8/fel_utils.S')
-rw-r--r--arch/arm/cpu/armv8/fel_utils.S5
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