Merge tag 'efi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi...
[cascardo/linux.git] / drivers / firmware / efi / libstub / arm-stub.c
index a1fda71..2b38147 100644 (file)
@@ -247,9 +247,18 @@ unsigned long efi_entry(void *handle, efi_system_table_t *sys_table,
                        goto fail_free_cmdline;
                }
        }
-       if (!fdt_addr)
+
+       if (fdt_addr) {
+               pr_efi(sys_table, "Using DTB from command line\n");
+       } else {
                /* Look for a device tree configuration table entry. */
                fdt_addr = (uintptr_t)get_fdt(sys_table);
+               if (fdt_addr)
+                       pr_efi(sys_table, "Using DTB from configuration table\n");
+       }
+
+       if (!fdt_addr)
+               pr_efi(sys_table, "Generating empty DTB\n");
 
        status = handle_cmdline_files(sys_table, image, cmdline_ptr,
                                      "initrd=", dram_base + SZ_512M,