]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arm: imx: imx8m: Define trampoline location if PSCI provider
authorMarek Vasut <marex@denx.de>
Thu, 22 Dec 2022 00:46:41 +0000 (01:46 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 31 Jan 2023 14:46:40 +0000 (15:46 +0100)
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 <marex@denx.de>
arch/arm/include/asm/arch-imx8m/imx-regs.h

index cfd5479cd7308354b31815a1817aaca25ff79c45..3034d280cc323b180e0efb71f09c2db0af9eb35d 100644 (file)
 #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)