diff options
| author | Warner Losh <imp@FreeBSD.org> | 2026-01-08 05:34:28 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2026-01-08 05:34:28 +0000 |
| commit | 3989a3d8170168570c10f4529a8ce7891d432520 (patch) | |
| tree | 96a52d816a444961ea1c7fa81cf32e044db35c03 | |
| parent | d82698ac68c23d856716dc9f6524b9ef363d7eba (diff) | |
| -rw-r--r-- | stand/efi/loader/bootinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stand/efi/loader/bootinfo.c b/stand/efi/loader/bootinfo.c index 67b36313c26f..151ac34dd08e 100644 --- a/stand/efi/loader/bootinfo.c +++ b/stand/efi/loader/bootinfo.c @@ -432,9 +432,10 @@ bi_load(char *args, vm_offset_t *modulep, vm_offset_t *kernendp, bool exit_bs) #if defined(LOADER_FDT_SUPPORT) if (dtb_size) file_addmetadata(kfp, MODINFOMD_DTBP, sizeof(dtbp), &dtbp); - else + else if (getenv("acpi.revision") == NULL) { printf("WARNING! Trying to fire up the kernel, but no " "device tree blob found!\n"); + } #endif file_addmetadata(kfp, MODINFOMD_KERNEND, sizeof(kernend), &kernend); #ifdef MODINFOMD_MODULEP |
