projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d573f
)
SPL: stm32mp1: fix spl_mmc_boot_partition not defined
author
Richard Genoud
<richard.genoud@posteo.net>
Mon, 12 Oct 2020 14:11:09 +0000
(16:11 +0200)
committer
Patrick Delaunay
<patrick.delaunay@st.com>
Wed, 25 Nov 2020 09:56:09 +0000
(10:56 +0100)
spl_mmc_boot_partition is only defined when
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION is defined.
Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/mach-stm32mp/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-stm32mp/spl.c
b/arch/arm/mach-stm32mp/spl.c
index b679b0a64544a5364fe4a10602594ee8b0209874..66a634654eef7c671e2b274a12d3b40d4beb2990 100644
(file)
--- a/
arch/arm/mach-stm32mp/spl.c
+++ b/
arch/arm/mach-stm32mp/spl.c
@@
-55,6
+55,7
@@
u32 spl_mmc_boot_mode(const u32 boot_device)
return MMCSD_MODE_RAW;
}
+#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
int spl_mmc_boot_partition(const u32 boot_device)
{
switch (boot_device) {
@@
-66,6
+67,7
@@
int spl_mmc_boot_partition(const u32 boot_device)
return -EINVAL;
}
}
+#endif
#ifdef CONFIG_SPL_DISPLAY_PRINT
void spl_display_print(void)