bootstd: Rework BLK dependency

The bootstd code itself does not have any dependency on BLK in order to
build. However, in order to minimize size growth of non-migrated
platforms, change this from being "default y" to "default y if BLK".
This will make it easier to begin migration of platforms which do not
have any BLK-class device but do want to use bootstd.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2025-04-23 08:49:13 -06:00
parent 13d1bd5bbb
commit 3b6760ddeb

View File

@@ -427,8 +427,8 @@ config BOOT_DEFAULTS
menuconfig BOOTSTD
bool "Standard boot"
default y
depends on DM && OF_CONTROL && BLK
default y if BLK
depends on DM && OF_CONTROL
help
U-Boot supports a standard way of locating something to boot,
typically an Operating System such as Linux, provided by a distro such