mmc: octeontx_hsmmc: Add support for MIPS Octeon
Until now, the Octeontx MMC driver did only support the ARM Octeon
TX/Tx2 platforms. This patch adds support for the MIPS Octeon platform
to this driver. Here a short summary of the changes:
- Enable driver compilation for MIPS Octeon, including the MMC related
header file
- Reorder header inclusion
- Switch to using the clk framework to get the input clock
- Remove some functions for MIPS Octeon, as some registers don't
exist here
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index d862d1e..f4ad1db 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -317,13 +317,13 @@
If you have an MMC controller on a PCI bus, say Y here.
config MMC_OCTEONTX
- bool "Marvell OcteonTX Multimedia Card Interface support"
- depends on (ARCH_OCTEONTX || ARCH_OCTEONTX2)
+ bool "Marvell Octeon Multimedia Card Interface support"
+ depends on (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2)
depends on DM_MMC
help
- This selects the OcteonTX Multimedia card Interface.
- If you have an OcteonTX/TX2 board with a Multimedia Card slot,
- say Y here.
+ This selects the Octeon Multimedia card Interface.
+ If you have an OcteonTX/TX2 or MIPS Octeon board with a
+ Multimedia Card slot, say Y here.
If unsure, say N.