summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-stm32mp/Makefile
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-10-01 17:18:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-14 15:26:45 +0200
commitd52102de412ce53a426d9dd43cf61569fe3b5683 (patch)
treeaec3a04583794f4d166c421c1f1f7c9fac0852e9 /arch/arm/mach-stm32mp/Makefile
parent1d9cc19aa742bff1aa848c48aad58e8d1166037d (diff)
downloadbarebox-d52102de412ce53a426d9dd43cf61569fe3b5683.tar.gz
barebox-d52102de412ce53a426d9dd43cf61569fe3b5683.tar.xz
ARM: stm32mp: add bootm handler for images
STM32 images are preceded by a fixed-size 256 byte header, which is interpreted by the TF-A first stage bootloader and isn't executable as ARM code. To maintain the ability to network boot them, add a bootm handler that skips the header. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-stm32mp/Makefile')
-rw-r--r--arch/arm/mach-stm32mp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/Makefile b/arch/arm/mach-stm32mp/Makefile
index 16a218658a..204cad608f 100644
--- a/arch/arm/mach-stm32mp/Makefile
+++ b/arch/arm/mach-stm32mp/Makefile
@@ -1 +1 @@
-obj- := __dummy__.o
+obj-$(CONFIG_BOOTM) := stm32image.o