Skip to content

Commit

Permalink
sunxi: Add H616 FEL support
Browse files Browse the repository at this point in the history
H616 uses different address for reset. Add it.

Signed-off-by: Jernej Skrabec <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
  • Loading branch information
jernejsk authored and Andre-ARM committed Jan 25, 2021
1 parent 8ec293e commit 3d594ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/arm/cpu/armv8/fel_utils.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d594ef

Please sign in to comment.