summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-07-31 00:52:28 +0300
committerTom Rini <trini@konsulko.com>2022-08-12 15:17:11 +0300
commitbd18b69de10d1a681e760f2ee65b3de29d3006fd (patch)
treed90704d507c4f99f18a6a72519c822ddeddf65f9 /boot
parentc627cfc14c08a803f5aa9e39d841dcf990d8d034 (diff)
downloadu-boot-bd18b69de10d1a681e760f2ee65b3de29d3006fd.tar.xz
bootstd: Always create the EFI bootmgr bootmeth
Now that we can separate this out from the normal bootmeths, update the code to create it always. We cannot rely on the device tree to create this, since the EFI project is quite opposed to having anything in the device tree that helps U-Boot with its processing. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot')
-rw-r--r--boot/bootstd-uclass.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/boot/bootstd-uclass.c b/boot/bootstd-uclass.c
index 3c6c32ae60..5107b6d4c7 100644
--- a/boot/bootstd-uclass.c
+++ b/boot/bootstd-uclass.c
@@ -133,12 +133,7 @@ int dm_scan_other(bool pre_reloc_only)
return 0;
for (i = 0; i < n_ents; i++, drv++) {
- /*
- * Disable EFI Manager for now as no one uses it so it is
- * confusing
- */
- if (drv->id == UCLASS_BOOTMETH &&
- strcmp("efi_mgr_bootmeth", drv->name)) {
+ if (drv->id == UCLASS_BOOTMETH) {
const char *name = drv->name;
if (!strncmp("bootmeth_", name, 9))