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

Paul Burton paul.burton at imgtec.com
Wed Sep 4 17:12:22 CEST 2013


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(-)

-- 
1.8.3.4




More information about the U-Boot mailing list