bdinfo: Show the pager page_len value

Show the actual value being used by the pager, if enabled.

Series-changes: 2
- Add new patch to show the pager page_len value

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-22 07:31:53 -06:00
parent 731ee5ebfb
commit 4412d9c3cf
3 changed files with 8 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
#include <lmb.h>
#include <mapmem.h>
#include <net.h>
#include <pager.h>
#include <serial.h>
#include <video.h>
#include <vsprintf.h>
@@ -132,6 +133,8 @@ static int bdinfo_print_all(struct bd_info *bd)
lprint_num_l("fdt_blob", (ulong)map_to_sysmem(gd->fdt_blob));
if (IS_ENABLED(CONFIG_VIDEO))
show_video_info();
if (IS_ENABLED(CONFIG_CONSOLE_PAGER))
printf("pager = %d\n", gd_pager_page_len());
#if CONFIG_IS_ENABLED(MULTI_DTB_FIT)
lprint_num_l("multi_dtb_fit", (ulong)gd->multi_dtb_fit);
#endif