summaryrefslogtreecommitdiffstats
path: root/drivers/mci/Makefile
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-04-15 11:29:16 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-04-27 21:17:24 +0200
commit075179763a91b6fea4a4309227d73c75d760c7bd (patch)
tree37cade8babcd47390ab02e83a2b6664dbf044d14 /drivers/mci/Makefile
parent0f7e6152c65659b3394014f002f7fa890ea50ca7 (diff)
downloadbarebox-075179763a91b6fea4a4309227d73c75d760c7bd.tar.gz
barebox-075179763a91b6fea4a4309227d73c75d760c7bd.tar.xz
mci: sdhci: add Atmel SDHCI (sama5d2, sam9x60) support
We already support Ethernet and QSPI on the SAMA5D2, but MMC was so far missing. Port over the at91bootstrap driver to barebox. Some parts are based on the U-Boot and Linux implementations. To support future use in PBL, the driver model and driver implementation parts are split into separate files with the latter being compilable for PBL as well. Registers, which are found in the common Linux sdhci.h have been added to the barebox sdhci.h. Registers which appear to be Atmel specific have been added to atmel-sdhci-common.c instead. The driver still misses some parts, which will follow later: - ADMA is unsupported, PIO only for now - Only the SD/MMC controller already enabled by the first stage bootloader is supported. Further clocking changes appear to be necessary to enable another Both can be retrofitted later on and don't hold us back from booting from MMC. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci/Makefile')
-rw-r--r--drivers/mci/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mci/Makefile b/drivers/mci/Makefile
index 54eb65978e..177483dcfb 100644
--- a/drivers/mci/Makefile
+++ b/drivers/mci/Makefile
@@ -1,6 +1,7 @@
obj-$(CONFIG_MCI) += mci-core.o
obj-$(CONFIG_MCI_ARASAN) += arasan-sdhci.o
obj-$(CONFIG_MCI_ATMEL) += atmel_mci.o
+obj-$(CONFIG_MCI_ATMEL_SDHCI) += atmel-sdhci.o atmel-sdhci-common.o
obj-$(CONFIG_MCI_BCM283X) += mci-bcm2835.o
obj-$(CONFIG_MCI_BCM283X_SDHOST) += bcm2835-sdhost.o
obj-$(CONFIG_MCI_DOVE) += dove-sdhci.o