[U-Boot] [PATCH 2/2] mmc: Register only the first MMC device on MMC_TINY

Tom Rini trini at konsulko.com
Sun Jul 14 13:07:21 UTC 2019


On Sat, May 25, 2019 at 07:25:22PM -0300, Ezequiel Garcia wrote:

> When MMC_TINY is enabled, support for only one MMC device
> is provided. Boards that register more than one device,
> will just write over mmc_static keeping only the last one
> registered.
> 
> This commit prevents this, keeping only the first MMC
> device created. A debug warning message is added, if nothing
> else, as a hint/documentation for developers.
> 
> Signed-off-by: Ezequiel Garcia <ezequiel at collabora.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/20190714/6c7944b9/attachment.sig>


More information about the U-Boot mailing list