From: Marek Vasut Date: Thu, 22 Dec 2022 00:46:41 +0000 (+0100) Subject: arm: imx: imx8m: Define trampoline location if PSCI provider X-Git-Tag: baikal/mips/sdk5.8.2~5^2~65^2~18 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=6c89556ccb28ffa49e08367f8d056f8ce23d9ecd;p=uboot.git arm: imx: imx8m: Define trampoline location if PSCI provider The common code used to bring up secondary cores requires a final jump location to be stored in some sort of memory location, define this memory location to be the start of OCRAM, since it is available. Signed-off-by: Marek Vasut --- diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h index cfd5479cd7..3034d280cc 100644 --- a/arch/arm/include/asm/arch-imx8m/imx-regs.h +++ b/arch/arm/include/asm/arch-imx8m/imx-regs.h @@ -91,6 +91,10 @@ #define IOMUXC_GPR_GPR1_GPR_ENET_QOS_INTF_SEL_MASK 0x70000 #define FEC_QUIRK_ENET_MAC +#ifdef CONFIG_ARMV8_PSCI /* Final jump location */ +#define CPU_RELEASE_ADDR 0x900000 +#endif + #define CAAM_ARB_BASE_ADDR (0x00100000) #define CAAM_ARB_END_ADDR (0x00107FFF) #define CAAM_IPS_BASE_ADDR (0x30900000)