diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2019-05-26 01:25:22 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-13 18:11:26 +0300 |
commit | d66fb5b1f6662a8aa5f78994696994c2594dbb22 (patch) | |
tree | 8aca15fa6816e8b283ecf04caf4af04b0b8d5387 /drivers/rtc/ds1307.c | |
parent | bf7c01d92b8458524190f585b20748f470bc9418 (diff) | |
download | u-boot-d66fb5b1f6662a8aa5f78994696994c2594dbb22.tar.xz |
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>
Diffstat (limited to 'drivers/rtc/ds1307.c')
0 files changed, 0 insertions, 0 deletions