spl: allow boot from first bootable partition
authorJérôme Carretero <cJ-uboot@zougloub.eu>
Tue, 15 Mar 2022 20:34:51 +0000 (16:34 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 11 Apr 2022 15:39:19 +0000 (11:39 -0400)
commit5fa973eb2880d8173f99ae68e015e10ab8f89c4b
tree1918eb15cec02bc76392da4d8c62e244658d6c1d
parente146a2c12ff1e9138f564ae6815a131bd850d8ef
spl: allow boot from first bootable partition

This was implemented in order to get dual-slot bootloader
partitions on the BeagleBone Black, whose MLO boots from
the first bootable partition: MLO chainloads u-boot in the
same way.

Signed-off-by: Jérôme Carretero <cJ-uboot@zougloub.eu>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/Kconfig
common/spl/spl_mmc.c