summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-03-02 12:16:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-03-03 09:19:40 +0100
commit55d8e6fa8c97400cdd0493319791de3173a6154f (patch)
tree93f0606d7739118f56859933378384a26e90b718
parentc00373bb31bf084481de48191c3ae144017ee44d (diff)
downloadbarebox-55d8e6fa8c97400cdd0493319791de3173a6154f.tar.gz
ARM: drop unused am35xx code in Makefile
All users of AM335x SPI images are multi-image, so the SPI image generation code in arch/arm/Makefile is unused. Drop it. Link: https://lore.barebox.org/20230302111606.1054037-10-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--Makefile2
-rw-r--r--arch/arm/Makefile13
2 files changed, 1 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index d7b4cc6ce9..b7e22d9e8b 100644
--- a/Makefile
+++ b/Makefile
@@ -1146,7 +1146,7 @@ CLEAN_FILES += barebox System.map stickypage.bin include/generated/barebox_defau
.tmp_kallsyms* barebox.ldr compile_commands.json \
barebox-flash-image \
barebox.srec barebox.s5p barebox.ubl \
- barebox.uimage barebox.spi \
+ barebox.uimage \
barebox.efi barebox.canon-a1100.bin
CLEAN_FILES += scripts/bareboxenv-target scripts/kernel-install-target \
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 3867d48427..0a81e6c254 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -174,19 +174,6 @@ ifeq ($(CONFIG_ARCH_DAVINCI),y)
KBUILD_IMAGE := barebox.ubl
endif
-quiet_cmd_am35xx_spi_image = SPI-IMG $@
- cmd_am35xx_spi_image = scripts/mk-omap-image -s -a $(TEXT_BASE) $< > $@
-
-barebox.spi: $(KBUILD_BINARY) FORCE
- $(call if_changed,am35xx_spi_image)
-
-MLO.spi: MLO FORCE
- $(call if_changed,am35xx_spi_image)
-
-ifeq ($(CONFIG_OMAP_BUILD_SPI),y)
-KBUILD_IMAGE := MLO.spi
-endif
-
quiet_cmd_canon_a1100_image = DD $@
cmd_canon_a1100_image = scripts/canon-a1100-image $< $@ || \
echo "WARNING: Couldn't create Canon A1100 image due to previous errors."