summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAnish Trivedi <anish@freescale.com>2011-10-19 13:51:30 -0500
committerAnish Trivedi <anish@freescale.com>2011-10-27 15:56:23 -0500
commitec10ca317794cd7e83e11df57e89085046ccd940 (patch)
treeb48157b44d03963573adf2b3fefc1721097a3645 /board
parent1b69b48bbaacca9b355a56598ae5e7342442251f (diff)
downloadu-boot-imx-ec10ca317794cd7e83e11df57e89085046ccd940.zip
u-boot-imx-ec10ca317794cd7e83e11df57e89085046ccd940.tar.gz
u-boot-imx-ec10ca317794cd7e83e11df57e89085046ccd940.tar.bz2
ENGR00139221 USDHC Add SDXC UHS-I support
Modified MMC library for UHS-I command sequence Added support to USDHC driver for UHS-I Signed-off-by: Anish Trivedi <anish@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6q_sabreauto/mx6q_sabreauto.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c b/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c
index eaa19b6..1c36e77 100644
--- a/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c
+++ b/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c
@@ -366,11 +366,15 @@ int board_eth_init(bd_t *bis)
#ifdef CONFIG_CMD_MMC
+/* On this board, only SD3 can support 1.8V signalling
+ * that is required for UHS-I mode of operation.
+ * Last element in struct is used to indicate 1.8V support.
+ */
struct fsl_esdhc_cfg usdhc_cfg[4] = {
- {USDHC1_BASE_ADDR, 1, 1, 1},
- {USDHC2_BASE_ADDR, 1, 1, 1},
- {USDHC3_BASE_ADDR, 1, 1, 1},
- {USDHC4_BASE_ADDR, 1, 1, 1},
+ {USDHC1_BASE_ADDR, 1, 1, 1, 0},
+ {USDHC2_BASE_ADDR, 1, 1, 1, 0},
+ {USDHC3_BASE_ADDR, 1, 1, 1, 1},
+ {USDHC4_BASE_ADDR, 1, 1, 1, 0},
};
#ifdef CONFIG_DYNAMIC_MMC_DEVNO
@@ -412,6 +416,7 @@ iomux_v3_cfg_t mx6q_usdhc3_pads[] = {
MX6Q_PAD_SD3_DAT5__USDHC3_DAT5,
MX6Q_PAD_SD3_DAT6__USDHC3_DAT6,
MX6Q_PAD_SD3_DAT7__USDHC3_DAT7,
+ MX6Q_PAD_GPIO_18__USDHC3_VSELECT,
};
iomux_v3_cfg_t mx6q_usdhc4_pads[] = {