[RFC 3/8] boot: make BOOTMETH_EFILOADER default=n

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Fri May 2 18:16:11 CEST 2025


On 5/2/25 16:49, Simon Glass wrote:
> Hi Heinrich,
> 
> On Mon, 21 Apr 2025 at 10:26, Heinrich Schuchardt
> <heinrich.schuchardt at canonical.com> wrote:
>>
>> The boot method is deprecated as the EFI boot manager covers this
>> functionality.
>>
>> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
>> ---
>>   boot/Kconfig | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/boot/Kconfig b/boot/Kconfig
>> index 71ddb37f6bb..b973d9eb0a7 100644
>> --- a/boot/Kconfig
>> +++ b/boot/Kconfig
>> @@ -595,7 +595,6 @@ config BOOTMETH_EFILOADER
>>          bool "Bootdev support for EFI boot"
>>          depends on EFI_BINARY_EXEC
>>          imply CMD_TFTPBOOT if CMD_NET
>> -       default y
>>          help
>>            This bootmeth is obsolete. BOOTMETH_EFI_BOOTMGR takes care of
>>            launching EFI\BOOT\BOOT<ARCH>.EFI if not boot option matches.
>> --
>> 2.48.1
>>
> 
> As mentioned on the other patch, we need to keep this enabled and it
> isn't obsolete.
> 
> Regards,
> Simon

Please, read the UEFI specification especially chapter 3 "Boot Manager".

* The functionality is fully covered by the boot manager.
* The current implementation of the method does not comply with the UEFI 
specification. Especially if run before the boot manager.

Best regards

Heinrich


More information about the U-Boot mailing list