Skip to content

mmc: omap_hsmmc: Reduce the footprint of the driver and fix am335x clock

Jaehoon Chung u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mmc: omap_hsmmc: do not embed struct mmc in struct omap_hsmmc_plat+0 -00 replies
2/4mmc: omap_hsmmc: compile out write support if not needed+0 -00 replies
3/4mmc: omap_hsmmc: make it possible to compile out ADMA support+0 -00 replies
4/4mmc: omap_hsmmc: use a default 52MHz max clock rate if none is specified+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/4] mmc: omap_hsmmc: Reduce the footprint of the driver and fix am335x clock
Quoted 12 lines · Adam Ford
Quoted 9 lines · Jean-Jacques Hiblot

This series aims at reducing the footprint of the omap_hsmmc driver in the SPL (1.5 kB gain in the case of the SPL for the am335x evm). It also fixes an issue with the am335x_evm by setting a default maximum frequency if none is defined in the dts.

tested on am335x_evm, bbb, bbb (vboot), and dra7 evm

Quoted 6 lines

I tested this version as well.

This series fixes 2d7482cf793f ("mmc: omap_hsmmc: use mmc_of_parse to populate mmc_config") which made my DM3730 unable to probe the MMC.

After testing, I will apply these patches with your tag.

Best Regards,
Jaehoon Chung

Quoted 23 lines
Quoted 22 lines

Changes in v2:
- Use a Kconfig option to compile out the ADMA support instead of relying on the platform architecture

Jean-Jacques Hiblot (4):
mmc: omap_hsmmc: do not embed struct mmc in struct omap_hsmmc_plat
mmc: omap_hsmmc: compile out write support if not needed
mmc: omap_hsmmc: make it possible to compile out ADMA support
mmc: omap_hsmmc: use a default 52MHz max clock rate if none is
specified

 arch/arm/include/asm/omap_mmc.h |  2 +-
 drivers/mmc/Kconfig             |  9 +++++++++
 drivers/mmc/omap_hsmmc.c        | 31 ++++++++++++++++++++-----------
 3 files changed, 30 insertions(+), 12 deletions(-)

--
1.9.1