Skip to content

SPL/MMC size fixes

Paul Burton u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/5] SPL/MMC size fixes

Bah, the subject should have read "size optimisations and fixes" but you get the idea...

Thanks,
Paul

Quoted 20 lines · Paul Burton

This series reduces the size of the SPL when compiled with MMC support, and fixes build issues if the target does not include libcommon in SPL, or if the target is not ARM based. Both of these are true of my board which is currently out of tree, but which I hope to be able to upstream soon. In the meantime I figured the size optimisations may be of use to others.

Paul Burton (5):
spl: remove unnecessary (& ARM specific) include of asm/utils.h
spl_mmc: only call printf or puts with CONFIG_SPL_LIBCOMMON_SUPPORT
mmc: don't call *printf or puts when SPL &
!CONFIG_SPL_LIBCOMMON_SUPPORT
mmc: size optimization when !CONFIG_MMC_SPI
mmc: don't support write & erase for SPL builds

  common/spl/spl_mmc.c | 17 ++++++++++++++++-
  drivers/mmc/mmc.c    | 44 ++++++++++++++++++++++++++++++++++++++++++++
  include/mmc.h        |  4 ++++
  3 files changed, 64 insertions(+), 1 deletion(-)