From: Heinrich Schuchardt Date: Thu, 24 Mar 2022 12:21:26 +0000 (+0100) Subject: [PATCH] fdt: add debug output to devicetree command X-Git-Tag: archive/raspbian/2.12-8+rpi1^2~78 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c888ff014d7625ebc0576fdea2b056b876019a69;p=grub2.git [PATCH] fdt: add debug output to devicetree command For debugging we need feedback that the devicetree command has be executed. Signed-off-by: Heinrich Schuchardt Gbp-Pq: Name fdt-add-debug-output-to-devicetree-command.patch --- diff --git a/grub-core/loader/efi/fdt.c b/grub-core/loader/efi/fdt.c index 439964b..510958d 100644 --- a/grub-core/loader/efi/fdt.c +++ b/grub-core/loader/efi/fdt.c @@ -127,6 +127,7 @@ grub_cmd_devicetree (grub_command_t cmd __attribute__ ((unused)), /* No arguments means "use firmware FDT". */ if (argc == 0) { + grub_dprintf ("fdt", "Using firmware FDT\n"); return GRUB_ERR_NONE; } @@ -158,6 +159,7 @@ out: if (blob) { + grub_dprintf ("fdt", "Device-tree %s loaded\n", argv[0]); if (grub_errno == GRUB_ERR_NONE) loaded_fdt = blob; else