summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2025-11-09 11:10:04 +0100
committerHeinrich Schuchardt <[email protected]>2025-11-21 19:18:22 +0100
commit1ad68e18225807fa798a8a4b4b03c79aabf96e1f (patch)
tree56a6731efd7570493d6d99e17e86669dcf192e99
parent797fe74ef72a6564ae3c878868a0c9d8cc0aea34 (diff)
test: cmd/bdinfo: make no flash assumption
The location and size of flash is device-dependent. Do not make any assumption about the location and size. Reviewed-by: Simon Glass <[email protected]> Acked-by: Ilias Apalodimas <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
-rw-r--r--test/cmd/bdinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c
index 09f44ee41ed..214b237152b 100644
--- a/test/cmd/bdinfo.c
+++ b/test/cmd/bdinfo.c
@@ -161,9 +161,9 @@ static int bdinfo_test_all(struct unit_test_state *uts)
ut_assertok(bdinfo_check_mem(uts));
/* CONFIG_SYS_HAS_SRAM testing not supported */
- ut_assertok(test_num_l(uts, "flashstart", 0));
- ut_assertok(test_num_l(uts, "flashsize", 0));
- ut_assertok(test_num_l(uts, "flashoffset", 0));
+ ut_check_console_linen(uts, "flashstart");
+ ut_check_console_linen(uts, "flashsize");
+ ut_check_console_linen(uts, "flashoffset");
ut_assert_nextline("baudrate = %lu bps",
env_get_ulong("baudrate", 10, 1234));
ut_assertok(test_num_l(uts, "relocaddr", gd->relocaddr));