summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--images/Makefile.stm32mp5
1 files changed, 4 insertions, 1 deletions
diff --git a/images/Makefile.stm32mp b/images/Makefile.stm32mp
index a0baad3..910e029 100644
--- a/images/Makefile.stm32mp
+++ b/images/Makefile.stm32mp
@@ -9,8 +9,11 @@
$(obj)/%.stm32: $(obj)/% FORCE
$(call if_changed,stm32_image)
+STM32MP1_OPTS = -a 0xc0100000 -e 0xc0100000 -v1
+
# --------------------------------------
pblb-$(CONFIG_MACH_STM32MP157C_DK2) += start_stm32mp157c_dk2
-FILE_barebox-stm32mp157c-dk2.img = start_stm32mp157c_dk2.pblb
+FILE_barebox-stm32mp157c-dk2.img = start_stm32mp157c_dk2.pblb.stm32
+OPTS_start_stm32mp157c_dk2.pblb.stm32 = $(STM32MP1_OPTS)
image-$(CONFIG_MACH_STM32MP157C_DK2) += barebox-stm32mp157c-dk2.img