From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilias Apalodimas Date: Mon, 28 Dec 2020 15:10:17 +0200 Subject: [PATCH 3/6] efi_loader: Replace config option with EFI variable for initrd loading In-Reply-To: <20201228122440.316403-4-ilias.apalodimas@linaro.org> References: <20201228122440.316403-1-ilias.apalodimas@linaro.org> <20201228122440.316403-4-ilias.apalodimas@linaro.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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