summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.lad@ti.com>2012-06-01 11:24:01 +0530
committerManjunathappa, Prakash <prakash.pm@ti.com>2012-06-26 11:44:01 +0530
commitadc6c63290b61c5037d726b1f0dc32bfa02c9d03 (patch)
tree36363d444067f70114997a8c9dce8f525e714a32 /include/configs
parent415d386877df49eb051b85ef74fa59a16dc17c7d (diff)
da850/omap-l138: Add MMC support for DA850/OMAP-L138
This patch adds support for MMC/SD on DA850/OMAP-L138. Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com> Signed-off-by: Hadli, Manjunath <manjunath.hadli@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/da850evm.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 989472b181..8b4fea1c63 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -313,6 +313,23 @@
#undef CONFIG_CMD_ENV
#endif
+/* SD/MMC configuration */
+#define CONFIG_MMC
+#define CONFIG_DAVINCI_MMC_SD1
+#define CONFIG_GENERIC_MMC
+#define CONFIG_DAVINCI_MMC
+
+/*
+ * Enable MMC commands only when
+ * MMC support is present
+ */
+#ifdef CONFIG_MMC
+#define CONFIG_DOS_PARTITION
+#define CONFIG_CMD_EXT2
+#define CONFIG_CMD_FAT
+#define CONFIG_CMD_MMC
+#endif
+
/* defines for SPL */
#define CONFIG_SPL
#define CONFIG_SPL_SPI_SUPPORT