[PATCH v3 3/4] platform: generic: Parse system suspend test from config node.
Cheng Yang
yangcheng.work at foxmail.com
Wed Feb 7 19:14:34 PST 2024
This patch update generic_domains_init() so that "system-suspend-test"
is parsed from "/chosen/opensbi-config" DT node.
Signed-off-by: Cheng Yang <yangcheng.work at foxmail.com>
---
platform/generic/platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/platform/generic/platform.c b/platform/generic/platform.c
index 5f76193..407d5b1 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();
--
2.34.1
More information about the opensbi
mailing list