]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sysreset: psci: enable DM_FLAG_PRE_RELOC
authorPeng Fan <peng.fan@nxp.com>
Thu, 6 Apr 2023 10:23:18 +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/sysreset/sysreset_psci.c

index 83ecbcb9d2cd5cd99bf52f8bf830ba1c28000df1..30c4b9c1f5d328b96b9600a03be1ceb611b099f1 100644 (file)
@@ -34,4 +34,5 @@ U_BOOT_DRIVER(psci_sysreset) = {
        .name = "psci-sysreset",
        .id = UCLASS_SYSRESET,
        .ops = &psci_sysreset_ops,
+       .flags = DM_FLAG_PRE_RELOC,
 };