]> git.baikalelectronics.ru Git - uboot.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)
commit47c6ba5fb30bd5926f4979169ba577c73e7c559f
tree5ac022abdcdc415468d0a8f7562c7a205f579e18
parent04150ecf0ac799da7439f47a7707567e8e3d00de
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