fdt: Add debugging for fdt_simplefb

Add some simple debug output to see what it is doing.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-15 13:46:23 -06:00
parent ddb78711fd
commit 4e0efad3c5
2 changed files with 8 additions and 0 deletions

View File

@@ -30,6 +30,10 @@ int board_exit_boot_services(void *ctx, struct event *evt)
uint key;
int ret;
if (evt->data.bootm_final.flags & BOOTM_FINAL_FAKE) {
printf("Not exiting EFI (fake go)\n");
return 0;
}
printf("Exiting EFI\n");
ret = efi_get_mmap(&desc, &size, &key, &desc_size, &version);
if (ret) {

View File

@@ -6,6 +6,8 @@
* Stephen Warren <swarren@wwwdotorg.org>
*/
#define LOG_CATEGORY LOGC_BOOT
#include <dm.h>
#include <fdt_support.h>
#include <asm/global_data.h>
@@ -48,6 +50,8 @@ static int fdt_simplefb_configure_node(void *blob, int off)
ysize = uc_priv->ysize;
bpix = uc_priv->bpix;
fb_base = plat->base;
log_debug("simplefb: fb %lx x %d y %d bpix %x\n", fb_base,
xsize, ysize, bpix);
}
switch (bpix) {