spl: add support for custom boot method names
authorHeiko Thiery <heiko.thiery@gmail.com>
Mon, 17 Jan 2022 15:25:41 +0000 (16:25 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 28 Jan 2022 22:58:41 +0000 (17:58 -0500)
commitc592292385b484e4da07d395ac67cd7f83f3f326
tree7c02d10a90d9229e5fd8c2a970374df91ee32356
parent2d0953c0e0de02dc470345c2b07d77d2a782dba6
spl: add support for custom boot method names

Currently the names MMC1, MMC2 and MMC2_2 are output in the SPL. To
achieve more userbility here the name of the boot source can be returned.
E.g. for "MMC1" -> "eMMC" or "MMC2" -> "SD card".

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Tested-by: Michael Walle <michael@walle.cc>
common/spl/spl.c
include/spl.h