[U-Boot] [PATCH 1/1] arm: mmc: omap: spl size reduction by removing write/erase ops

Tom Rini tom.rini at gmail.com
Thu Feb 2 17:32:47 CET 2012


On Thu, Feb 2, 2012 at 6:04 AM, Balaji T K <balajitk at ti.com> wrote:
> spl for OMAP4 does not use mmc read/write.
> Add CONFIG_MMC_NO_ERASE, CONFIG_MMC_NO_WRITE to platforms where mmc
> write/erase operation is not needed in spl.
> Use these CONFIGS to remove write/erase code in mmc.c and omap_hsmmc.c
> This reduces the spl size by ~1128 Bytes

Are you running into a size limitation again?  If not, I think we want
to wait until we sort out how SPL includes/excludes stuff moving
forward as this shows there's probably a lot of other unused code
being pulled in.

-- 
Tom


More information about the U-Boot mailing list