[PATCH 2/3] sysreset: psci: enable DM_FLAG_PRE_RELOC
Peng Fan (OSS)
peng.fan at oss.nxp.com
Thu Apr 6 12:23:18 CEST 2023
From: Peng Fan <peng.fan at nxp.com>
It is possible that cpu core may reset before relocation with PSCI reset
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
drivers/sysreset/sysreset_psci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/sysreset/sysreset_psci.c b/drivers/sysreset/sysreset_psci.c
index 83ecbcb9d2c..30c4b9c1f5d 100644
--- a/drivers/sysreset/sysreset_psci.c
+++ b/drivers/sysreset/sysreset_psci.c
@@ -34,4 +34,5 @@ U_BOOT_DRIVER(psci_sysreset) = {
.name = "psci-sysreset",
.id = UCLASS_SYSRESET,
.ops = &psci_sysreset_ops,
+ .flags = DM_FLAG_PRE_RELOC,
};
--
2.36.0
More information about the U-Boot
mailing list