]> git.sur5r.net Git - u-boot/commitdiff
imx:mx6sxsabresd: change CONFIG_SYS_FSL_ESDHC_ADDR
authorPeng Fan <Peng.Fan@freescale.com>
Mon, 15 Sep 2014 06:59:16 +0000 (14:59 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 16 Sep 2014 11:33:46 +0000 (13:33 +0200)
Define CONFIG_SYS_FSL_ESDHC_ADDR using USDHC4_BASE_ADDR which is used
in board_mmc_init.

If board_mmc_init failed, cpu_mmc_init->fsl_esdhc_mmc_init will use
CONFIG_SYS_FSL_ESDHC_ADDR to initialize sdhc. So set this macro to
correct value.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
include/configs/mx6sxsabresd.h

index b92d9443d47292a067d77ef91c2ab509e5b88e48..fd74c6980d7911ffabe49f8dc355cceaea0c4995 100644 (file)
 /* MMC Configuration */
 #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_MMC
 #define CONFIG_CMD_MMC