public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] mmc: Cleanup time for mmc_struct
@ 2014-03-12 10:24 Pantelis Antoniou
  2014-03-12 10:24 ` [U-Boot] [PATCH 1/3] mmc: Remove ops from struct mmc and put in mmc_ops Pantelis Antoniou
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Pantelis Antoniou @ 2014-03-12 10:24 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-03-14 23:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 10:24 [U-Boot] [PATCH 0/3] mmc: Cleanup time for mmc_struct Pantelis Antoniou
2014-03-12 10:24 ` [U-Boot] [PATCH 1/3] mmc: Remove ops from struct mmc and put in mmc_ops Pantelis Antoniou
2014-03-14 20:53   ` Simon Glass
2014-03-14 23:10     ` Marek Vasut
2014-03-12 10:24 ` [U-Boot] [PATCH 2/3] mmc: Convert mmc struct's name array to a pointer Pantelis Antoniou
2014-03-14 20:55   ` Simon Glass
2014-03-14 23:10     ` Marek Vasut
2014-03-12 10:24 ` [U-Boot] [PATCH 3/3] mmc: Split mmc struct, rework mmc initialization Pantelis Antoniou
2014-03-14 20:56   ` Simon Glass
2014-03-12 11:32 ` [U-Boot] [PATCH 0/3] mmc: Cleanup time for mmc_struct Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox