[PATCH 13/13] ARM: stm32mp: remove STM32MP13 .stm32 image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Legacy STM32 images were deprecated for STM32MP15 in TF-A and are no
longer supported in recent versions. For STM32MP13, FIP was the only
format supported since the beginning, so drop the unused entry point.

barebox chainloading for development can be done by booting the
barebox-stm32mp-generic-bl33.img with the barebox device tree passed
in externally.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 arch/arm/boards/stm32mp13xx-dk/Makefile   |  1 -
 arch/arm/boards/stm32mp13xx-dk/lowlevel.c | 19 -------------------
 images/Makefile.stm32mp                   |  1 -
 3 files changed, 21 deletions(-)
 delete mode 100644 arch/arm/boards/stm32mp13xx-dk/lowlevel.c

diff --git a/arch/arm/boards/stm32mp13xx-dk/Makefile b/arch/arm/boards/stm32mp13xx-dk/Makefile
index 1d052d28c9fc..a031ae91bd28 100644
--- a/arch/arm/boards/stm32mp13xx-dk/Makefile
+++ b/arch/arm/boards/stm32mp13xx-dk/Makefile
@@ -1,3 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/stm32mp13xx-dk/lowlevel.c b/arch/arm/boards/stm32mp13xx-dk/lowlevel.c
deleted file mode 100644
index 4253dde9d6ae..000000000000
--- a/arch/arm/boards/stm32mp13xx-dk/lowlevel.c
+++ /dev/null
@@ -1,19 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-
-#include <mach/stm32mp/entry.h>
-#include <debug_ll.h>
-
-extern char __dtb_z_stm32mp135f_dk_start[];
-
-ENTRY_FUNCTION(start_stm32mp13xx_dk, r0, r1, r2)
-{
-	void *fdt;
-
-	stm32mp_cpu_lowlevel_init();
-
-	putc_ll('>');
-
-	fdt = __dtb_z_stm32mp135f_dk_start  + get_runtime_offset();
-
-	stm32mp1_barebox_entry(fdt);
-}
diff --git a/images/Makefile.stm32mp b/images/Makefile.stm32mp
index 86ff870051c2..cc70aee92388 100644
--- a/images/Makefile.stm32mp
+++ b/images/Makefile.stm32mp
@@ -30,7 +30,6 @@ pblb-$(CONFIG_ARCH_STM32MP) += start_stm32mp_bl33
 FILE_barebox-stm32mp-generic-bl33.img  = start_stm32mp_bl33.pblb
 image-$(CONFIG_ARCH_STM32MP) += barebox-stm32mp-generic-bl33.img
 
-$(call build_stm32mp_image, CONFIG_MACH_STM32MP13XX_DK, start_stm32mp13xx_dk, stm32mp13xx-dk)
 $(call build_stm32mp_image, CONFIG_MACH_STM32MP15XX_DKX, start_stm32mp15xx_dkx, stm32mp15xx-dkx)
 $(call build_stm32mp_image, CONFIG_MACH_STM32MP15X_EV1, start_stm32mp15x_ev1, stm32mp15x-ev1)
 
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux