From d6b156eb9061b5c6eafe48e3c238178351f772c9 Mon Sep 17 00:00:00 2001 From: Tianrui Wei Date: Thu, 1 Jul 2021 12:54:20 +0800 Subject: mmc: openpiton: add piton_mmc driver This commit adds support to piton_mmc driver for OpenPiton-riscv64 This driver has many things set as preconfigured because the hardware automatically configures most of the settings during startup. Signed-off-by: Tianrui Wei Signed-off-by: Jonathan Balkind Reviewed-by: Jaehoon Chung --- drivers/mmc/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'drivers/mmc/Kconfig') diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 0909f50..d017617 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -727,6 +727,15 @@ config MMC_SUNXI_HAS_MODE_SWITCH bool depends on MMC_SUNXI +config MMC_PITON + bool "MMC support for OpenPiton SoC" + depends on DM_MMC && BLK + help + This selects support for the SD host controller on OpenPiton SoC. + Note that this SD controller directly exposes the contents of the + SD card as memory mapped, so there is no manual configuration + required + config GENERIC_ATMEL_MCI bool "Atmel Multimedia Card Interface support" depends on DM_MMC && BLK && ARCH_AT91 -- cgit v1.1