[U-Boot] mmc: Improve tinification

Tom Rini trini at konsulko.com
Sun May 13 11:58:15 UTC 2018


On Sun, Apr 15, 2018 at 12:37:11AM +0200, Marek Vasut wrote:

> From: Marek Vasut <marek.vasut at gmail.com>
> 
> Drop all the extra content from the MMC core, so that tiny MMC support
> is really tiny, no fancy anything. That means the tiny MMC support does
> only 1-bit transfers at default speed settings. Moreover, this patch
> drops duplicate instance of struct mmc mmc_static, which wasted about
> 360 bytes. Furthermore, since MMC tiny supports only one controller
> at all times, get rid of mallocating the ext csd backup and replace
> it with static array. All in all, this patch saves ~4 kiB of bloat
> from the MMC core, which on platforms with severe limitations can be
> beneficial.
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Jaehoon Chung <jh80.chung at samsung.com>
> Cc: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180513/4fe32ec2/attachment.sig>


More information about the U-Boot mailing list