bdinfo: Show the flags
The flags contain lots of little pieces of information. Print them out with the bdinfo command, so the user can look them up if needed. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -138,6 +138,7 @@ static int bdinfo_print_all(struct bd_info *bd)
|
||||
#if CONFIG_IS_ENABLED(MULTI_DTB_FIT)
|
||||
lprint_num_l("multi_dtb_fit", (ulong)gd->multi_dtb_fit);
|
||||
#endif
|
||||
lprint_num_l("flags", gd->flags);
|
||||
if (IS_ENABLED(CONFIG_LMB) && gd->fdt_blob) {
|
||||
lmb_dump_all_force();
|
||||
if (IS_ENABLED(CONFIG_OF_REAL))
|
||||
|
||||
@@ -191,6 +191,7 @@ static int bdinfo_test_all(struct unit_test_state *uts)
|
||||
#if CONFIG_IS_ENABLED(MULTI_DTB_FIT)
|
||||
ut_assertok(test_num_l(uts, "multi_dtb_fit", (ulong)gd->multi_dtb_fit));
|
||||
#endif
|
||||
ut_assertok(test_num_l(uts, "flags", gd->flags));
|
||||
|
||||
if (IS_ENABLED(CONFIG_LMB) && gd->fdt_blob) {
|
||||
ut_assertok(lmb_test_dump_all(uts));
|
||||
|
||||
Reference in New Issue
Block a user