From 439b9383ee1a22ffb589e007745ffbeaf7806465 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Thu, 6 Apr 2023 18:23:18 +0800 Subject: [PATCH] sysreset: psci: enable DM_FLAG_PRE_RELOC It is possible that cpu core may reset before relocation with PSCI reset Signed-off-by: Peng Fan --- 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 83ecbcb9d2..30c4b9c1f5 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.39.5