Skip to contentSkip to conversation

arm: mach-k3: Remove secure device makefile

PATCH In review Andrew Davis 3 participants 3 messages Oct 5, 2023 – Oct 11, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mach-k3: Remove secure device makefile

This is now done using binman but this file was leftover and is now unused, remove it.

---
 MAINTAINERS                       |  1 -
 arch/arm/mach-k3/config_secure.mk | 44 -------------------------------
 2 files changed, 45 deletions(-)
 delete mode 100644 arch/arm/mach-k3/config_secure.mk
MAINTAINERS +0 -1
index 4df79254dfe..de4711721b2 100644
@@ -1548,7 +1548,6 @@ F:	arch/arm/mach-omap2/omap5/sec_entry_cpu1.S
 F:	arch/arm/mach-omap2/sec-common.c
 F:	arch/arm/mach-omap2/config_secure.mk
 F:	arch/arm/mach-k3/security.c
-F:	arch/arm/mach-k3/config_secure.mk
 F:	configs/am335x_hs_evm_defconfig
 F:	configs/am335x_hs_evm_uart_defconfig
 F:	configs/am43xx_hs_evm_defconfig
arch/arm/mach-k3/config_secure.mk deleted +0 -44

44 lines not on this page · raw message

Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw

Hi Andrew

Quoted 4 lines · Andrew Davis

This is now done using binman but this file was leftover and is now unused, remove it.

Quoted 68 lines
---
  MAINTAINERS                       |  1 -
  arch/arm/mach-k3/config_secure.mk | 44 -------------------------------
  2 files changed, 45 deletions(-)

delete mode 100644 arch/arm/mach-k3/config_secure.mk

MAINTAINERS +0 -1
index 4df79254dfe..de4711721b2 100644
@@ -1548,7 +1548,6 @@ F:	arch/arm/mach-omap2/omap5/sec_entry_cpu1.S
  F:	arch/arm/mach-omap2/sec-common.c
  F:	arch/arm/mach-omap2/config_secure.mk
  F:	arch/arm/mach-k3/security.c
-F:	arch/arm/mach-k3/config_secure.mk
  F:	configs/am335x_hs_evm_defconfig
  F:	configs/am335x_hs_evm_uart_defconfig
  F:	configs/am43xx_hs_evm_defconfig
arch/arm/mach-k3/config_secure.mk deleted +0 -44
deleted file mode 100644
index 9cc1f9eb24f..00000000000
@@ -1,44 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Copyright (C) 2018 Texas Instruments, Incorporated - http://www.ti.com/
-#	Andrew F. Davis <[email protected]>
-
-quiet_cmd_k3secureimg = SECURE  $@
-ifneq ($(TI_SECURE_DEV_PKG),)
-ifneq ($(wildcard $(TI_SECURE_DEV_PKG)/scripts/secure-binary-image.sh),)
-cmd_k3secureimg = $(TI_SECURE_DEV_PKG)/scripts/secure-binary-image.sh \
-	$< $@ \
-	$(if $(KBUILD_VERBOSE:1=), >/dev/null)
-else
-cmd_k3secureimg = echo "WARNING:" \
-	"$(TI_SECURE_DEV_PKG)/scripts/secure-binary-image.sh not found." \
-	"$@ was NOT secured!"; cp $< $@
-endif
-else
-cmd_k3secureimg = echo "WARNING: TI_SECURE_DEV_PKG environment" \
-	"variable must be defined for TI secure devices." \
-	"$@ was NOT secured!"; cp $< $@
-endif
-
-%.dtb_HS: %.dtb FORCE
-	$(call if_changed,k3secureimg)
-
-$(obj)/u-boot-spl-nodtb.bin_HS: $(obj)/u-boot-spl-nodtb.bin FORCE
-	$(call if_changed,k3secureimg)
-
-tispl.bin_HS: $(obj)/u-boot-spl-nodtb.bin_HS $(patsubst %,$(obj)/dts/%.dtb_HS,$(subst ",,$(CONFIG_SPL_OF_LIST))) $(SPL_ITS) FORCE
-	$(call if_changed,mkfitimage)
-
-MKIMAGEFLAGS_u-boot.img_HS = -f auto -A $(ARCH) -T firmware -C none -O u-boot \
-	-a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \
-	-n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" -E \
-	$(patsubst %,-b arch/$(ARCH)/dts/%.dtb_HS,$(subst ",,$(CONFIG_OF_LIST)))
-
-OF_LIST_TARGETS = $(patsubst %,arch/$(ARCH)/dts/%.dtb,$(subst ",,$(CONFIG_OF_LIST)))
-$(OF_LIST_TARGETS): dtbs
-
-u-boot-nodtb.bin_HS: u-boot-nodtb.bin FORCE
-	$(call if_changed,k3secureimg)
-
-u-boot.img_HS: u-boot-nodtb.bin_HS u-boot.img $(patsubst %.dtb,%.dtb_HS,$(OF_LIST_TARGETS)) FORCE
-	$(call if_changed,mkimage)
Signature · 2 lines
Thanking You
Neha Malcom Francis