diff options
author | Simon Glass <sjg@chromium.org> | 2024-09-20 09:24:36 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-03 11:52:16 -0600 |
commit | db59f0bcb6d62a859085579ed202608915fa89ff (patch) | |
tree | b4a72a370b1cac681c5f7ab56e3a4d86d7246a4a | |
parent | 4f9c15185d7df6e5ffa46b02248eb256ca6d9239 (diff) |
mmc: Support driver model in TPL
Some boards want to use DM_MMC in TPL so add an option for that.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | drivers/mmc/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 982e84dc3bc..22c65681f0a 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -61,6 +61,17 @@ config SPL_DM_MMC appear as block devices in U-Boot and can support filesystems such as EXT4 and FAT. +config TPL_DM_MMC + bool "Enable MMC controllers using Driver Model in TPL" + depends on TPL_DM && DM_MMC + select TPL_BLK + help + This enables the MultiMediaCard (MMC) uclass which supports MMC and + Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.) + and non-removable (e.g. eMMC chip) devices are supported. These + appear as block devices in U-Boot and can support filesystems such + as EXT4 and FAT. + if MMC config MMC_SDHCI_ADMA_HELPERS |