diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-11-23 23:57:04 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-05 08:54:44 -0600 |
| commit | 7dbcc4d806cce156dd9c00f535fb9cb0020b6e87 (patch) | |
| tree | a9ed5ceb653bef0eb44d00ece560fd4646b80653 /test | |
| parent | 0978f3287c1b43ebac6f5f1e49fdf07182d55a60 (diff) | |
test: fix bdinfo_test_all boot_params expectation
The value of boot_params is device specific and non-zero on many boards.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/cmd/bdinfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c index 2f3a65996e7..ba8a3392237 100644 --- a/test/cmd/bdinfo.c +++ b/test/cmd/bdinfo.c @@ -156,7 +156,9 @@ static int bdinfo_check_mem(struct unit_test_state *uts) static int bdinfo_test_all(struct unit_test_state *uts) { - ut_assertok(test_num_l(uts, "boot_params", 0)); + struct bd_info *bd = gd->bd; + + ut_assertok(test_num_l(uts, "boot_params", bd->bi_boot_params)); ut_assertok(bdinfo_check_mem(uts)); |
