diff options
author | Simon Glass <sjg@chromium.org> | 2022-07-31 00:52:29 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-12 15:17:11 +0300 |
commit | 2ff5490d7dee933eaf0b73d4d50d76660e5da6ff (patch) | |
tree | fd2dc157bc698cb29c127b5847703f4b75a500a2 /boot/bootstd-uclass.c | |
parent | bd18b69de10d1a681e760f2ee65b3de29d3006fd (diff) | |
download | u-boot-2ff5490d7dee933eaf0b73d4d50d76660e5da6ff.tar.xz |
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>
Diffstat (limited to 'boot/bootstd-uclass.c')
-rw-r--r-- | boot/bootstd-uclass.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/boot/bootstd-uclass.c b/boot/bootstd-uclass.c index 5107b6d4c7..565c22a36e 100644 --- a/boot/bootstd-uclass.c +++ b/boot/bootstd-uclass.c @@ -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; } |