]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: spl: select SPL_BLK for SPL_DM_MMC
authorOleksandr Suvorov <oleksandr.suvorov@foundries.io>
Wed, 23 Aug 2023 15:45:45 +0000 (18:45 +0300)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 31 Oct 2023 23:48:49 +0000 (08:48 +0900)
mmc_bind() in mmc-uclass.c calls blk_create_devicef() which is
defined in blk-uclass.c, so SPL_BLK is required by SPL_DM_MMC.
Implicitly select SPL_BLK for SPL_DM_MMC.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/Kconfig

index 726c8d8f705b57216d7f955e2246ea016661c29c..17618c3bdcc186c9bdf9af50e2fce8206b64bb89 100644 (file)
@@ -46,6 +46,7 @@ config SPL_DM_MMC
        depends on SPL_DM && DM_MMC
        default n if ARCH_MVEBU && !MVEBU_SPL_BOOT_DEVICE_MMC
        default y
+       select SPL_BLK
        help
          This enables the MultiMediaCard (MMC) uclass which supports MMC and
          Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)