bootstd: Drop the system bootdev

This was a work-around for the fact that global bootmeths such as EFI
bootmgr and VBE don't use a particular bootdev, or at least select it
themselves so that we don't need to scan all bootdevs when using that
bootmeth.

Drop the system bootdev entirely.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2022-07-30 15:52:29 -06:00
committed by Tom Rini
parent bd18b69de1
commit 2ff5490d7d
4 changed files with 2 additions and 79 deletions

View File

@@ -145,12 +145,6 @@ int dm_scan_other(bool pre_reloc_only)
}
}
/* Create the system bootdev too */
ret = device_bind_driver(bootstd, "system_bootdev", "system-bootdev",
&dev);
if (ret)
return log_msg_ret("sys", ret);
return 0;
}