[PATCHv2 3/9] test: cpu: add test for release CPU core.
Zhiqiang Hou
Zhiqiang.Hou at nxp.com
Thu Jul 25 11:53:25 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>
---
V2:
- New patch.
test/dm/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/dm/cpu.c b/test/dm/cpu.c
index acba8105996..8af25316cea 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.43.0
More information about the U-Boot
mailing list