summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHelmut Raiger <helmut.raiger@hale.at>2012-01-18 21:27:13 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-12 10:11:27 +0100
commitf353518ffb026af0ac259ae508edd9994f30d51b (patch)
tree87eb80c6188db78f62eac3b117d963680ec76b10 /include
parentc8eff0ff304133d97192ca2f3d438d50fd62f3c1 (diff)
downloadu-boot-imx-f353518ffb026af0ac259ae508edd9994f30d51b.zip
u-boot-imx-f353518ffb026af0ac259ae508edd9994f30d51b.tar.gz
u-boot-imx-f353518ffb026af0ac259ae508edd9994f30d51b.tar.bz2
tt01: add MMC support
board_mmc_init() initializes the pins of SDHC1 and turns on V_MMC1 of the PMIC. Config adds support for EXT2 and FAT. Signed-off-by: Helmut Raiger <helmut.raiger@hale.at>
Diffstat (limited to 'include')
-rw-r--r--include/configs/tt01.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/tt01.h b/include/configs/tt01.h
index 7e293c6..35d2bd8 100644
--- a/include/configs/tt01.h
+++ b/include/configs/tt01.h
@@ -180,6 +180,11 @@
#define CONFIG_SMC911X_BASE (CS4_BASE+0x200000)
#define CONFIG_SMC911X_16_BIT
+/* mmc driver */
+#define CONFIG_MMC
+#define CONFIG_GENERIC_MMC
+#define CONFIG_MXC_MMC
+#define CONFIG_MXC_MCI_REGS_BASE SDHC1_BASE_ADDR
/*
* Command definition
*/
@@ -229,6 +234,13 @@
#define CONFIG_CMDLINE_EDITING
+/* MMC boot support */
+#define CONFIG_CMD_MMC
+#define CONFIG_DOS_PARTITION
+#define CONFIG_EFI_PARTITION
+#define CONFIG_CMD_EXT2
+#define CONFIG_CMD_FAT
+
#define CONFIG_NAND_MXC
#define CONFIG_SYS_MAX_NAND_DEVICE 1