From: Peng Fan Date: Thu, 6 Apr 2023 10:23:17 +0000 (+0800) Subject: firmware: psci: enable DM_FLAG_PRE_RELOC X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=1bd790bc4bb025423ca2edac8f7694787d0a2a81;p=u-boot.git firmware: psci: enable DM_FLAG_PRE_RELOC It is possible that cpu core may reset before relocation with PSCI reset Signed-off-by: Peng Fan --- diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c index ef3e983646..c6b9efab41 100644 --- a/drivers/firmware/psci.c +++ b/drivers/firmware/psci.c @@ -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, };