Skip to content

Commit

Permalink
LiteX: driver for LiteSDCard (litex_mmc)
Browse files Browse the repository at this point in the history
Original author: Kamil Rakoczy <krakoczy@antmicro.com>
Updated for DMA transfers: Maciej Dudek <mdudek@internships.antmicro.com>
Multiblock xfer, eject, and misc. cleanup: Gabriel Somlo <gsomlo@gmail.com>

Additional fixups and interrupts by Paul Mackerras <paulus@ozlabs.org>

Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
Signed-off-by: Maciej Dudek <mdudek@internships.antmicro.com>
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
  • Loading branch information
kamilrakoczy authored and stffrdhrn committed Sep 13, 2021
1 parent 6880fa6 commit 9802d0e
Show file tree
Hide file tree
Showing 4 changed files with 777 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/mmc/host/Kconfig
Expand Up @@ -1091,3 +1091,9 @@ config MMC_OWL

config MMC_SDHCI_EXTERNAL_DMA
bool

config MMC_LITEX
tristate "Support for the MMC Controller in LiteX SOCs"
depends on OF && LITEX
help
Generic MCC driver for LiteX
1 change: 1 addition & 0 deletions drivers/mmc/host/Makefile
Expand Up @@ -102,6 +102,7 @@ obj-$(CONFIG_MMC_CQHCI) += cqhci.o
cqhci-y += cqhci-core.o
cqhci-$(CONFIG_MMC_CRYPTO) += cqhci-crypto.o
obj-$(CONFIG_MMC_HSQ) += mmc_hsq.o
obj-$(CONFIG_MMC_LITEX) += litex_mmc.o

ifeq ($(CONFIG_CB710_DEBUG),y)
CFLAGS-cb710-mmc += -DDEBUG
Expand Down

0 comments on commit 9802d0e

Please sign in to comment.