[PATCHv4 04/14] test: cpu: add test for release CPU core.
Zhiqiang Hou
Zhiqiang.Hou at nxp.com
Tue Jul 30 09:29:53 CEST 2024
From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
Add test for API cpu_release_core().
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
V4:
- No change.
test/dm/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/dm/cpu.c b/test/dm/cpu.c
index acba810599..8af25316ce 100644
--- a/test/dm/cpu.c
+++ b/test/dm/cpu.c
@@ -43,6 +43,8 @@ static int dm_test_cpu(struct unit_test_state *uts)
ut_assertok(cpu_get_vendor(dev, text, sizeof(text)));
ut_assertok(strcmp(text, "Languid Example Garbage Inc."));
+ ut_assertok(cpu_release_core(dev, 0));
+
return 0;
}
--
2.17.1
More information about the U-Boot
mailing list