From ecc98ec18c5b23b399e4aa12d252b719ea4aedb1 Mon Sep 17 00:00:00 2001 From: "Lad, Prabhakar" Date: Sun, 24 Jun 2012 21:35:15 +0000 Subject: 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 Signed-off-by: Lad, Prabhakar Signed-off-by: Rajashekhara, Sudhakar Signed-off-by: Hadli, Manjunath --- include/configs/da850evm.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include/configs') diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index e6adb1fe51..dfbc674064 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 -- cgit v1.2.3