From: Heinrich Schuchardt Date: Sun, 23 Nov 2025 22:57:09 +0000 (+0100) Subject: test: cmd/bdinfo: consider PPC architecture specific info X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2ee1e3c4a7924c621f2852713ece0f17495eb08;p=thirdparty%2Fu-boot.git 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 --- 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");