Struct mmc has picked up a lot of cruft over the years. It is time for it to be split in 3 parts; the original mmc struct containing the state, the mmc_config struct containing the board setup configuration and the mmc_ops struct contains the method pointers.
Using the new config structures the mmc device creation now gets much more easier by using the new mmc_create() call Pantelis Antoniou (3): mmc: Remove ops from struct mmc and put in mmc_ops mmc: Convert mmc struct's name array to a pointer mmc: Split mmc struct, rework mmc initialization arch/arm/include/asm/arch-davinci/sdmmc_defs.h | 1 + arch/arm/include/asm/arch-tegra/tegra_mmc.h | 4 + common/cmd_mmc.c | 2 +- common/cmd_mmc_spi.c | 2 +- drivers/mmc/arm_pl180_mmci.c | 50 +++++---- drivers/mmc/arm_pl180_mmci.h | 4 + drivers/mmc/bfin_sdh.c | 40 +++---- drivers/mmc/davinci_mmc.c | 41 ++++--- drivers/mmc/dw_mmc.c | 58 +++++----- drivers/mmc/fsl_esdhc.c | 65 +++++------ drivers/mmc/ftsdc010_mci.c | 63 +++++------ drivers/mmc/gen_atmel_mci.c | 53 +++++---- drivers/mmc/mmc.c | 88 +++++++++------ drivers/mmc/mmc_spi.c | 50 +++++---- drivers/mmc/mmc_write.c | 3 +- drivers/mmc/mxcmmc.c | 45 ++++---- drivers/mmc/mxsmmc.c | 48 ++++----- drivers/mmc/omap_hsmmc.c | 142 +++++++++++++++---------- drivers/mmc/pxa_mmc_gen.c | 70 ++++++------ drivers/mmc/sdhci.c | 84 ++++++++------- drivers/mmc/sh_mmcif.c | 52 ++++----- drivers/mmc/tegra_mmc.c | 53 ++++----- include/dwmmc.h | 2 + include/fsl_esdhc.h | 4 + include/mmc.h | 48 ++++++--- include/sdhci.h | 2 + 26 files changed, 590 insertions(+), 484 deletions(-) -- 1.7.12 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot