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

Reply via email to