Skip to content

Commit d310959

Browse files
sbrandenArd Biesheuvel
authored andcommitted
efi/libstub/arm: default EFI_ARMSTUB_DTB_LOADER to y
Default EFI_ARMSTUB_DTB_LOADER to y to allow the dtb= command line parameter to function with efi loader. Required for development purposes and to boot on existing bootloaders that do not support devicetree provided by the firmware or by the bootloader. Fixes: 3d7ee34 ("efi/libstub/arm: Add opt-in Kconfig option ...") Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
1 parent 11da3a7 commit d310959

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

drivers/firmware/efi/Kconfig

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,17 @@ config EFI_ARMSTUB
9090
config EFI_ARMSTUB_DTB_LOADER
9191
bool "Enable the DTB loader"
9292
depends on EFI_ARMSTUB
93+
default y
9394
help
9495
Select this config option to add support for the dtb= command
9596
line parameter, allowing a device tree blob to be loaded into
9697
memory from the EFI System Partition by the stub.
9798

98-
The device tree is typically provided by the platform or by
99-
the bootloader, so this option is mostly for development
100-
purposes only.
99+
If the device tree is provided by the platform or by
100+
the bootloader this option may not be needed.
101+
But, for various development reasons and to maintain existing
102+
functionality for bootloaders that do not have such support
103+
this option is necessary.
101104

102105
config EFI_BOOTLOADER_CONTROL
103106
tristate "EFI Bootloader Control"

0 commit comments

Comments
 (0)