summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.lad@ti.com>2012-06-24 21:35:15 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:09 +0200
commitecc98ec18c5b23b399e4aa12d252b719ea4aedb1 (patch)
treeba42ce492fe3d7bf9db81f4f03f8b942427aea99 /include
parent3b97152b63da024e3547c76ac9f7912fceb876c3 (diff)
downloadu-boot-imx-ecc98ec18c5b23b399e4aa12d252b719ea4aedb1.zip
u-boot-imx-ecc98ec18c5b23b399e4aa12d252b719ea4aedb1.tar.gz
u-boot-imx-ecc98ec18c5b23b399e4aa12d252b719ea4aedb1.tar.bz2
da850/omap-l138: Add MMC support for DA850/OMAP-L138
This patch adds support for MMC/SD on DA850/OMAP-L138. Tested-by: Christian Riesch <christian.riesch@omicron.at> 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')
-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 e6adb1f..dfbc674 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -311,6 +311,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