mbox series

[U-Boot,v1,0/4] mmc: omap_hsmmc: Reduce the footprint of the driver and fix am335x clock

Message ID 1519295148-6817-1-git-send-email-jjhiblot@ti.com
Headers show
Series mmc: omap_hsmmc: Reduce the footprint of the driver and fix am335x clock | expand

Message

Jean-Jacques Hiblot Feb. 22, 2018, 10:25 a.m. UTC
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


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: compile out ADMA support for am33xx and omap34xx
  mmc: omap_hsmmc: use a default 52MHz max clock rate if none is
    specified

 arch/arm/include/asm/omap_mmc.h |  2 +-
 drivers/mmc/omap_hsmmc.c        | 35 ++++++++++++++++++++++++-----------
 2 files changed, 25 insertions(+), 12 deletions(-)

Comments

Adam Ford Feb. 22, 2018, 11:09 p.m. UTC | #1
On Thu, Feb 22, 2018 at 4:25 AM, Jean-Jacques Hiblot <jjhiblot@ti.com> wrote:
>
>
> 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
>

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

Tested-by: Adam Ford <aford173@gmail.com> #omap3_logic

>
>
> 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: compile out ADMA support for am33xx and omap34xx
>   mmc: omap_hsmmc: use a default 52MHz max clock rate if none is
>     specified
>
>  arch/arm/include/asm/omap_mmc.h |  2 +-
>  drivers/mmc/omap_hsmmc.c        | 35 ++++++++++++++++++++++++-----------
>  2 files changed, 25 insertions(+), 12 deletions(-)
>
> --
> 1.9.1
>