提交 bfeaea7d 编写于 作者: I Igor Opaniuk 提交者: Stefano Babic

colibri_imx6: fix broken fsl_esdhc_imx conversion

Not all CONFIG_FSL_ESDHC defines were properly replaced with
CONFIG_FSL_ESDHC_IMX, which broke U-boot proper booting on
Colibri iMX6 SoMs.

U-boot is stuck after this message:
Commercial temperature grade DDR3 timings, 64bit bus width.
Trying to boot from MMC1

Fixes: e37ac717("Convert to use fsl_esdhc_imx for i.MX platforms")
Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
上级 2ce1dbbe
...@@ -83,7 +83,7 @@ iomux_v3_cfg_t const uart1_pads[] = { ...@@ -83,7 +83,7 @@ iomux_v3_cfg_t const uart1_pads[] = {
MX6_PAD_CSI0_DAT11__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL), MX6_PAD_CSI0_DAT11__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
}; };
#if defined(CONFIG_FSL_ESDHC) && defined(CONFIG_SPL_BUILD) #if defined(CONFIG_FSL_ESDHC_IMX) && defined(CONFIG_SPL_BUILD)
/* Colibri MMC */ /* Colibri MMC */
iomux_v3_cfg_t const usdhc1_pads[] = { iomux_v3_cfg_t const usdhc1_pads[] = {
MX6_PAD_SD1_CLK__SD1_CLK | MUX_PAD_CTRL(USDHC_PAD_CTRL), MX6_PAD_SD1_CLK__SD1_CLK | MUX_PAD_CTRL(USDHC_PAD_CTRL),
...@@ -304,7 +304,7 @@ int board_ehci_hcd_init(int port) ...@@ -304,7 +304,7 @@ int board_ehci_hcd_init(int port)
} }
#endif #endif
#if defined(CONFIG_FSL_ESDHC) && defined(CONFIG_SPL_BUILD) #if defined(CONFIG_FSL_ESDHC_IMX) && defined(CONFIG_SPL_BUILD)
/* use the following sequence: eMMC, MMC */ /* use the following sequence: eMMC, MMC */
struct fsl_esdhc_cfg usdhc_cfg[CONFIG_SYS_FSL_USDHC_NUM] = { struct fsl_esdhc_cfg usdhc_cfg[CONFIG_SYS_FSL_USDHC_NUM] = {
{USDHC3_BASE_ADDR}, {USDHC3_BASE_ADDR},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册