diff options
author | Julien CORJON <corjon.j@ecagroup.com> | 2016-02-05 16:19:32 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-02-21 11:37:04 +0100 |
commit | dd8bd015e8bb89891b1dc6caccbe67a0c603584a (patch) | |
tree | 3f0936f8a6cda2d360f5e6547c819746b7810ba7 /board/seco/mx6quq7 | |
parent | 2c79b7a3bbf9713046d98d7a6a0f2eb476c32a2b (diff) | |
download | u-boot-dd8bd015e8bb89891b1dc6caccbe67a0c603584a.tar.gz u-boot-dd8bd015e8bb89891b1dc6caccbe67a0c603584a.tar.xz u-boot-dd8bd015e8bb89891b1dc6caccbe67a0c603584a.zip |
imx: mx6quq7: specify max_bus_witdh directly in usdhc_cfg
Specify max_bus_width directly in usdhc_cfg static definition instead
of tweaking it in the board_mmc_init() function.
Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Diffstat (limited to 'board/seco/mx6quq7')
-rw-r--r-- | board/seco/mx6quq7/mx6quq7.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/board/seco/mx6quq7/mx6quq7.c b/board/seco/mx6quq7/mx6quq7.c index 3743a9e3da..89ae70d497 100644 --- a/board/seco/mx6quq7/mx6quq7.c +++ b/board/seco/mx6quq7/mx6quq7.c @@ -92,8 +92,8 @@ int board_eth_init(bd_t *bis) } static struct fsl_esdhc_cfg usdhc_cfg[2] = { - {USDHC3_BASE_ADDR}, - {USDHC4_BASE_ADDR}, + {USDHC3_BASE_ADDR, 0, 4}, + {USDHC4_BASE_ADDR, 0, 4}, }; int board_mmc_init(bd_t *bis) @@ -112,12 +112,10 @@ int board_mmc_init(bd_t *bis) case 0: seco_mx6_setup_usdhc_iomux(3); usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); - usdhc_cfg[0].max_bus_width = 4; break; case 1: seco_mx6_setup_usdhc_iomux(4); usdhc_cfg[1].sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK); - usdhc_cfg[1].max_bus_width = 4; break; default: |