From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Burton Date: Wed, 4 Sep 2013 16:15:38 +0100 Subject: [U-Boot] [PATCH 0/5] SPL/MMC size fixes In-Reply-To: <1378307547-16984-1-git-send-email-paul.burton@imgtec.com> References: <1378307547-16984-1-git-send-email-paul.burton@imgtec.com> Message-ID: <52274E9A.60404@imgtec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Bah, the subject should have read "size optimisations and fixes" but you get the idea... Thanks, Paul On 04/09/13 16:12, Paul Burton wrote: > 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(-) >