[U-Boot] [PATCH 0/3] imx:mx6: change CONFIG_SYS_FSL_ESDHC_ADDR

Peng Fan Peng.Fan at freescale.com
Mon Sep 15 08:59:15 CEST 2014


If board_mmc_init failed and returns with -1, cpu_mmc_init will invoke
fsl_esdhc_mmc_init. fsl_esdhc_mmc_init will use CONFIG_SYS_FSL_ESDHC_ADDR
to initialize SDHCx, so use USDHCx_BASE_ADDR to redefine the config macro.

If not use USDHCx_BASE_ADDR to define CONFIG_SYS_FSL_ESDHC_ADDR,
fsl_esdhc_mmc_init will use wrong base address to initialize SDHCx.

Peng Fan (3):
  imx:mx6sxsabresd: change CONFIG_SYS_FSL_ESDHC_ADDR
  imx:mx6qarm2: change CONFIG_SYS_FSL_ESDHC_ADDR
  imx:mx6slevk: change CONFIG_SYS_FSL_ESDHC_ADDR

 include/configs/mx6qarm2.h     | 2 +-
 include/configs/mx6slevk.h     | 2 +-
 include/configs/mx6sxsabresd.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.8.4




More information about the U-Boot mailing list