]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: spl_mmc: provide one weak function spl_boot_partition
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 20 Mar 2018 09:54:51 +0000 (10:54 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 7 Apr 2018 00:45:28 +0000 (20:45 -0400)
commit35a66960cd7358588bd678b4b3dfedb27226fe3e
tree5ac022abdcdc415468d0a8f7562c7a205f579e18
parent52280315a4c58647906a56af8ce79b7ee0c28571
spl: spl_mmc: provide one weak function spl_boot_partition

The spl_boot_partition function has been added in order to have
the possibility to boot on a same binary from different mmc devices
with different partitions.

By default keep the current behavior, SPL use the partition defined
by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Christophe KERELLO <christophe.kerello@st.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
common/spl/spl_mmc.c
include/spl.h