mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
6be0da90a1
Removed upstreamed/solved elsewhere upstream: - 0001-MIPS-ralink-Add-rt3352-SPI_CS1-pinmux.patch - 0002-MIPS-pci-rt2880-set-pci-controller-of_node.patch - 0004-MIPS-ralink-add-MT7621-pcie-driver.patch - 0009-PCI-MIPS-enable-PCIe-on-MT7688.patch - 0025-pinctrl-ralink-add-pinctrl-driver.patch - 0028-GPIO-ralink-add-mt7621-gpio-controller.patch - 0043-spi-add-mt7621-support.patch - 0045-i2c-add-mt7621-driver.patch - 0047-DMA-ralink-add-rt2880-dma-engine.patch - 0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch - 0054-mtd-spi-nor-w25q256-respect-default-mode.patch - 0099-pci-mt7620.patch - 304-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch Removed because of the new NAND driver: - 0038-Revert-mtd-nand-Remove-unused-chip-write_page-hook.patch - 0039-mtd-add-mt7621-nand-support.patch - 0040-nand-hack.patch Remove patch that no longer applies (needs rework): - 0034-NET-multi-phy-support.patch Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
44 lines
1.6 KiB
Diff
44 lines
1.6 KiB
Diff
From 23147af14531cbdada194b94120ef8774f46292d Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <blogic@openwrt.org>
|
|
Date: Thu, 13 Nov 2014 19:08:40 +0100
|
|
Subject: [PATCH 46/53] mmc: MIPS: ralink: add sdhci for mt7620a SoC
|
|
|
|
Signed-off-by: John Crispin <blogic@openwrt.org>
|
|
---
|
|
drivers/mmc/host/Kconfig | 2 +
|
|
drivers/mmc/host/Makefile | 1 +
|
|
drivers/mmc/host/mtk-mmc/Kconfig | 16 +
|
|
drivers/mmc/host/mtk-mmc/Makefile | 42 +
|
|
drivers/mmc/host/mtk-mmc/board.h | 137 ++
|
|
drivers/mmc/host/mtk-mmc/dbg.c | 347 ++++
|
|
drivers/mmc/host/mtk-mmc/dbg.h | 156 ++
|
|
drivers/mmc/host/mtk-mmc/mt6575_sd.h | 1001 +++++++++++
|
|
drivers/mmc/host/mtk-mmc/sd.c | 3060 ++++++++++++++++++++++++++++++++++
|
|
9 files changed, 4762 insertions(+)
|
|
create mode 100644 drivers/mmc/host/mtk-mmc/Kconfig
|
|
create mode 100644 drivers/mmc/host/mtk-mmc/Makefile
|
|
create mode 100644 drivers/mmc/host/mtk-mmc/board.h
|
|
create mode 100644 drivers/mmc/host/mtk-mmc/dbg.c
|
|
create mode 100644 drivers/mmc/host/mtk-mmc/dbg.h
|
|
create mode 100644 drivers/mmc/host/mtk-mmc/mt6575_sd.h
|
|
create mode 100644 drivers/mmc/host/mtk-mmc/sd.c
|
|
|
|
--- a/drivers/mmc/host/Kconfig
|
|
+++ b/drivers/mmc/host/Kconfig
|
|
@@ -1019,3 +1019,5 @@ config MMC_SDHCI_AM654
|
|
If you have a controller with this interface, say Y or M here.
|
|
|
|
If unsure, say N.
|
|
+
|
|
+source "drivers/mmc/host/mtk-mmc/Kconfig"
|
|
--- a/drivers/mmc/host/Makefile
|
|
+++ b/drivers/mmc/host/Makefile
|
|
@@ -3,6 +3,7 @@
|
|
# Makefile for MMC/SD host controller drivers
|
|
#
|
|
|
|
+obj-$(CONFIG_MTK_MMC) += mtk-mmc/
|
|
obj-$(CONFIG_MMC_ARMMMCI) += armmmci.o
|
|
armmmci-y := mmci.o
|
|
armmmci-$(CONFIG_MMC_QCOM_DML) += mmci_qcom_dml.o
|