diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-07-12 12:24:56 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-07-15 08:46:12 +0200 |
commit | 5f7967937db89a1634c96f20fe0825af1a27ede7 (patch) | |
tree | 3c216f0570e675588e4510260bf0323caf228d18 | |
parent | 0e3d00a70de6412c9543d09445de59900b93e25e (diff) | |
download | barebox-5f7967937db89a1634c96f20fe0825af1a27ede7.tar.gz barebox-5f7967937db89a1634c96f20fe0825af1a27ede7.tar.xz |
ARM: stm32mp: generate STM32 images
Both STM32MP BootROM and TF-A first stage expect subsequent bootloader
stages to feature a specific STM32 file header. Generate this image
type by default.
If for some reason, the image without stm32 header is required, the
start_stm32mp157c_dk2.pblb can be used.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | images/Makefile.stm32mp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/images/Makefile.stm32mp b/images/Makefile.stm32mp index a0baad30c3..910e029a5b 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 |