[PATCH 3/6] efi_loader: Replace config option with EFI variable for initrd loading

Ilias Apalodimas ilias.apalodimas at linaro.org
Mon Dec 28 14:10:17 CET 2020


Hi Heinrich, 

[...]
>  			  bootorder[i]);
>  		ret = try_load_entry(bootorder[i], handle, load_options);
> -		if (ret == EFI_SUCCESS)
> +		if (ret == EFI_SUCCESS) {
> +			if (IS_ENABLED(CONFIG_EFI_LOAD_FILE2_INITRD))
> +				ret = efi_initrd_register();

I just realized registering the protocol here won't work for BootNext since
the protocol won't regsiter.
I'll just move the protocol registration in try_load_entry() when I send a v2

Cheers
/Ilias


More information about the U-Boot mailing list