bootstd: Rework BLK dependency
authorTom Rini <trini@konsulko.com>
Wed, 23 Apr 2025 14:49:13 +0000 (08:49 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 6 May 2025 21:47:36 +0000 (15:47 -0600)
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>
boot/Kconfig

index 2456856..30eb5b3 100644 (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