projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3694edc
)
test: cpu: add test for release CPU core.
author
Hou Zhiqiang
<Zhiqiang.Hou@nxp.com>
Thu, 1 Aug 2024 03:59:49 +0000
(11:59 +0800)
committer
Fabio Estevam
<festevam@gmail.com>
Fri, 2 Aug 2024 18:16:51 +0000
(15:16 -0300)
Add test for API cpu_release_core().
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/cpu.c
patch
|
blob
|
history
diff --git
a/test/dm/cpu.c
b/test/dm/cpu.c
index acba810599666944682ee0bd8f10d545325632e5..8af25316ceac9b3e2377ec496b05cfe6b329f380 100644
(file)
--- 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;
}