]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
firmware: psci: enable DM_FLAG_PRE_RELOC
authorPeng Fan <peng.fan@nxp.com>
Thu, 6 Apr 2023 10:23:17 +0000 (18:23 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 25 Apr 2023 19:31:28 +0000 (15:31 -0400)
It is possible that cpu core may reset before relocation with PSCI reset

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/firmware/psci.c

index ef3e983646171632347b9403d604326558bbed75..c6b9efab41cd5bf4e866490a1630cacda5e1f8c0 100644 (file)
@@ -319,4 +319,5 @@ U_BOOT_DRIVER(psci) = {
 #ifdef CONFIG_ARM_SMCCC_FEATURES
        .plat_auto = sizeof(struct psci_plat_data),
 #endif
+       .flags = DM_FLAG_PRE_RELOC,
 };