diff options
Diffstat (limited to 'drivers/firmware/efi/libstub/arm-stub.c')
-rw-r--r-- | drivers/firmware/efi/libstub/arm-stub.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/arm-stub.c b/drivers/firmware/efi/libstub/arm-stub.c index 75ee05964cbc..eb48a1a1a576 100644 --- a/drivers/firmware/efi/libstub/arm-stub.c +++ b/drivers/firmware/efi/libstub/arm-stub.c | |||
@@ -247,9 +247,18 @@ unsigned long __init efi_entry(void *handle, efi_system_table_t *sys_table, | |||
247 | goto fail_free_cmdline; | 247 | goto fail_free_cmdline; |
248 | } | 248 | } |
249 | } | 249 | } |
250 | if (!fdt_addr) | 250 | |
251 | if (fdt_addr) { | ||
252 | pr_efi(sys_table, "Using DTB from command line\n"); | ||
253 | } else { | ||
251 | /* Look for a device tree configuration table entry. */ | 254 | /* Look for a device tree configuration table entry. */ |
252 | fdt_addr = (uintptr_t)get_fdt(sys_table); | 255 | fdt_addr = (uintptr_t)get_fdt(sys_table); |
256 | if (fdt_addr) | ||
257 | pr_efi(sys_table, "Using DTB from configuration table\n"); | ||
258 | } | ||
259 | |||
260 | if (!fdt_addr) | ||
261 | pr_efi(sys_table, "Generating empty DTB\n"); | ||
253 | 262 | ||
254 | status = handle_cmdline_files(sys_table, image, cmdline_ptr, | 263 | status = handle_cmdline_files(sys_table, image, cmdline_ptr, |
255 | "initrd=", dram_base + SZ_512M, | 264 | "initrd=", dram_base + SZ_512M, |