From 5349ee1debd433e7cfbe9a739e8c47ce63c6fdd8 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Wed, 15 Feb 2023 13:33:47 -0600 Subject: conf: machine: k3: Remove unneeded TI_SECURE_DEV_PKG_K3 assignments For K3 machines the SECDEV selection happens in the recipes that use it. This assignment is therefor no longer needed. Remove it. Suggested-by: Ryan Eatmon Signed-off-by: Andrew Davis Signed-off-by: Ryan Eatmon --- meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-ti-bsp/classes') diff --git a/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass b/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass index 69fa0ed2..5e1fa56a 100644 --- a/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass +++ b/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass @@ -1,4 +1,4 @@ -inherit kernel-uboot uboot-sign-legacyhs +inherit ti-secdev kernel-uboot uboot-sign-legacyhs FITIMAGE_HASH_ALGO ?= "sha1" FITIMAGE_PACK_TEE ?= "0" @@ -51,7 +51,7 @@ python __anonymous () { UBOOT_MKIMAGE_DTCOPTS ??= "" fitimage_ti_secure() { - if test -n "${TI_SECURE_DEV_PKG}"; then + if test -f "${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh"; then export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh $1 $2 else -- cgit v1.2.3-54-g00ecf