diff options
author | Marco Felsch <marco.felsch@gmail.com> | 2019-07-12 12:24:54 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-07-15 08:46:12 +0200 |
commit | 464de25d425a0949b066b0aacf872b2a48e682af (patch) | |
tree | 9b9bbaa54559285f7332d8b3dc15ccb553402449 /images | |
parent | 344f652085a4c61ea7c9275be100599881d8faf4 (diff) | |
download | barebox-464de25d425a0949b066b0aacf872b2a48e682af.tar.gz barebox-464de25d425a0949b066b0aacf872b2a48e682af.tar.xz |
images: add support for generating STM32MP images
Both STM32MP BootROM and TF-A first stage expect subsequent bootloader
stages to feature a specific STM32 file header. Add a stm32image
utility to address this.
Signed-off-by: Marco Felsch <marco.felsch@gmail.com>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images')
-rw-r--r-- | images/Makefile.stm32mp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/images/Makefile.stm32mp b/images/Makefile.stm32mp index bc3e7394d7..a0baad30c3 100644 --- a/images/Makefile.stm32mp +++ b/images/Makefile.stm32mp @@ -3,6 +3,14 @@ # barebox image generation Makefile for STMicroelectronics MP # +# %.stm32 - convert into STM32MP image +# -------------------------------------- + +$(obj)/%.stm32: $(obj)/% FORCE + $(call if_changed,stm32_image) + +# -------------------------------------- + pblb-$(CONFIG_MACH_STM32MP157C_DK2) += start_stm32mp157c_dk2 FILE_barebox-stm32mp157c-dk2.img = start_stm32mp157c_dk2.pblb image-$(CONFIG_MACH_STM32MP157C_DK2) += barebox-stm32mp157c-dk2.img |