Skip to content
Commit d66fb5b1 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Tom Rini
Browse files

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: default avatarEzequiel Garcia <ezequiel@collabora.com>
parent bf7c01d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment