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 <heinrich.schuchardt@canonical.com>
This commit is contained in:
committed by
Tom Rini
parent
0978f3287c
commit
7dbcc4d806
+3
-1
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user