From 35a66960cd7358588bd678b4b3dfedb27226fe3e Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Tue, 20 Mar 2018 10:54:51 +0100 Subject: 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 Signed-off-by: Christophe KERELLO Reviewed-by: Tom Rini Reviewed-by: Lukasz Majewski --- include/spl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/spl.h') diff --git a/include/spl.h b/include/spl.h index c14448b8fc..5754012cd0 100644 --- a/include/spl.h +++ b/include/spl.h @@ -82,6 +82,7 @@ int spl_load_simple_fit(struct spl_image_info *spl_image, void preloader_console_init(void); u32 spl_boot_device(void); u32 spl_boot_mode(const u32 boot_device); +int spl_boot_partition(const u32 boot_device); void spl_set_bd(void); /** -- cgit v1.2.3