api: Define a default mmc max device
authorEmmanuel Vadot <manu@bidouilliste.com>
Tue, 20 Jun 2017 06:09:40 +0000 (08:09 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jun 2017 14:38:06 +0000 (10:38 -0400)
commit6d7a57076476789c77d59a0e8b47fc975de7231e
tree065054f241fcfc30e2e2ee4091ade343ee3801fe
parent872faf5d1382a265be42ecaaa84abce5907811ea
api: Define a default mmc max device

Define a default number of 1 for mmc max device if board config didn't
specify one.

Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
api/api_storage.c