summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng Yang <[email protected]>2024-02-08 11:14:34 +0800
committerAnup Patel <[email protected]>2024-02-20 16:06:31 +0530
commit8df836d7723f1b5e3b365a55545852b63ae690ca (patch)
treebb61c257dea702585c2025fe9ecbfd0e672ff344
parent23e7e483ee86123dc41f5bcb495ab22054a08697 (diff)
platform: generic: Parse system suspend test from config node.
This patch update generic_domains_init() so that "system-suspend-test" is parsed from "/chosen/opensbi-config" DT node. Signed-off-by: Cheng Yang <[email protected]> Reviewed-by: Anup Patel <[email protected]>
-rw-r--r--platform/generic/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/generic/platform.c b/platform/generic/platform.c
index 00c6c2e2..1f46b76c 100644
--- a/platform/generic/platform.c
+++ b/platform/generic/platform.c
@@ -316,7 +316,7 @@ static int generic_domains_init(void)
if (offset >= 0) {
offset = fdt_node_offset_by_compatible(fdt, offset,
- "opensbi,domain,config");
+ "opensbi,config");
if (offset >= 0 &&
fdt_get_property(fdt, offset, "system-suspend-test", NULL))
sbi_system_suspend_test_enable();