summaryrefslogtreecommitdiff
path: root/test/cmd
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2025-11-23 23:57:09 +0100
committerTom Rini <[email protected]>2025-12-05 08:54:44 -0600
commitc2ee1e3c4a7924c621f2852713ece0f17495eb08 (patch)
tree57010644987faad481667b513bdfa1a6c97b003b /test/cmd
parent3338e2e463793425c23acf859438238670a10a11 (diff)
test: cmd/bdinfo: consider PPC architecture specific info
On the power architecture the bdinfo command prints architecture specific information. The test needs to accept these output lines. Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'test/cmd')
-rw-r--r--test/cmd/bdinfo.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c
index ba8a3392237..2b4866a172e 100644
--- a/test/cmd/bdinfo.c
+++ b/test/cmd/bdinfo.c
@@ -218,6 +218,15 @@ static int bdinfo_test_all(struct unit_test_state *uts)
}
/* Check arch_print_bdinfo() output */
+ if (IS_ENABLED(CONFIG_PPC)) {
+ ut_check_console_linen(uts, "busfreq");
+ if (IS_ENABLED(CONFIG_MPC8xx) || IS_ENABLED(CONFIG_E500))
+ ut_check_console_linen(uts, "immr_base");
+ ut_check_console_linen(uts, "bootflags");
+ ut_check_console_linen(uts, "intfreq");
+ ut_check_console_linen(uts, "addressing");
+ }
+
if (IS_ENABLED(CONFIG_X86)) {
ut_check_console_linen(uts, "prev table");
ut_check_console_linen(uts, "clock_rate");