mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 04:50:19 +01:00
This patch modifies mxcmmc.c to be used not only by i.MX27 but also by i.MX31 boards. Both use the same SD controller, but have different clock set-ups. The i.MX27 imx_get_XXXclock functions are made static to generic.c and a public mxc_get_clock() function is provided. Pins, base address and prototypes for an i.MX31 specific board_init_mmc() are provided. Some of the i.MX27 clock getters are unused and marked as such to avoid warnings (./MAKEALL -s mx27), but the code was left in for future use. Signed-off-by: Helmut Raiger <helmut.raiger@hale.at> Acked-by: Stefano Babic <sbabic@denx.de> |
||
|---|---|---|
| .. | ||
| arm_pl180_mmci.c | ||
| arm_pl180_mmci.h | ||
| atmel_mci.c | ||
| atmel_mci.h | ||
| bfin_sdh.c | ||
| davinci_mmc.c | ||
| fsl_esdhc.c | ||
| ftsdc010_esdhc.c | ||
| gen_atmel_mci.c | ||
| Makefile | ||
| mmc.c | ||
| mmc_spi.c | ||
| mv_sdhci.c | ||
| mxcmmc.c | ||
| mxsmmc.c | ||
| omap_hsmmc.c | ||
| pxa_mmc.c | ||
| pxa_mmc.h | ||
| pxa_mmc_gen.c | ||
| s5p_mmc.c | ||
| sdhci.c | ||
| sh_mmcif.c | ||
| sh_mmcif.h | ||
| tegra2_mmc.c | ||
| tegra2_mmc.h | ||