commit | d66fb5b1f6662a8aa5f78994696994c2594dbb22 | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel@collabora.com> | Sat May 25 19:25:22 2019 -0300 |
committer | Tom Rini <trini@konsulko.com> | Sat Jul 13 11:11:26 2019 -0400 |
tree | 8aca15fa6816e8b283ecf04caf4af04b0b8d5387 | |
parent | bf7c01d92b8458524190f585b20748f470bc9418 [diff] |
mmc: Register only the first MMC device on MMC_TINY 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@collabora.com>