summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2014-09-15 14:59:17 +0800
committerStefano Babic <sbabic@denx.de>2014-09-16 13:33:46 +0200
commit95083b3a0887e1653df04ef4e1aa3c42920ffa11 (patch)
treeb7f7b12c6a7d746c214b337bd18a2ac770c36b9e
parent152adee1b6174611903b81fa8d3b9797d70b0ca1 (diff)
downloadu-boot-imx-95083b3a0887e1653df04ef4e1aa3c42920ffa11.zip
u-boot-imx-95083b3a0887e1653df04ef4e1aa3c42920ffa11.tar.gz
u-boot-imx-95083b3a0887e1653df04ef4e1aa3c42920ffa11.tar.bz2
imx:mx6qarm2: change CONFIG_SYS_FSL_ESDHC_ADDR
Define CONFIG_SYS_FSL_ESDHC_ADDR using USDHC4_BASE_ADDR. USDHC3 and USDHC4 are both initialized in board_mmc_init. There is no restriction on USDHC3 addr or USDHC4 addr should be assigned to CONFIG_SYS_FSL_ESDHC_ADDR. So, just choose USDHC4_BASE_ADDR to avoid errors when fsl_esdhc_mmc_init is invoked. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
-rw-r--r--include/configs/mx6qarm2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index 35c0a85..e2469a1 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -37,7 +37,7 @@
/* MMC Configs */
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_USDHC
-#define CONFIG_SYS_FSL_ESDHC_ADDR 0
+#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC4_BASE_ADDR
#define CONFIG_SYS_FSL_USDHC_NUM 2
#define CONFIG_MMC