From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Date: Sat, 23 Jan 2021 02:00:43 +0000 Subject: [PATCH v2 16/21] sunxi: Add H616 FEL support In-Reply-To: <20210111201153.1800440-17-jernej.skrabec@siol.net> References: <20210111201153.1800440-1-jernej.skrabec@siol.net> <20210111201153.1800440-17-jernej.skrabec@siol.net> Message-ID: <20210123020043.061e42fe@slackpad.fritz.box> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 11 Jan 2021 21:11:48 +0100 Jernej Skrabec wrote: > H616 uses different address for reset. Add it. > > Signed-off-by: Jernej Skrabec > --- > arch/arm/cpu/armv8/fel_utils.S | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/cpu/armv8/fel_utils.S b/arch/arm/cpu/armv8/fel_utils.S > index 9510dcd9e4c1..2dbd4b365221 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_RTC_BASE + 0x5c0) Going with Samuel's comment, I changed the base address to SUNXI_R_CPUCFG_BASE, while committing. Reviewed-by: Andre Przywara Cheers, Andre > + 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 IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.