summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2026-02-23 16:06:50 -0600
committerRyan Eatmon <reatmon@ti.com>2026-02-23 16:33:03 -0600
commitf60581dc51d0d8e2ac5306ef5866421f13197c6b (patch)
tree1ea3cb08e73ac4e843b2e6b1951602a63c8db235
parentfdca2e3472893c7f21188327805b83c6a0b32850 (diff)
downloadmeta-ti-f60581dc51d0d8e2ac5306ef5866421f13197c6b.tar.gz
*: Remove unused patches
We have added checking for unused patches in our repo checking tool. Remove two patch files that it found. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/files/0001-vt-conmakehash-improve-reproducibility-for-v6.10.patch60
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os/0001-plat-k3-drivers-Open-TRNG-firewall-for-TIFS-on-all-k.patch45
2 files changed, 0 insertions, 105 deletions
diff --git a/meta-ti-bsp/recipes-kernel/linux/files/0001-vt-conmakehash-improve-reproducibility-for-v6.10.patch b/meta-ti-bsp/recipes-kernel/linux/files/0001-vt-conmakehash-improve-reproducibility-for-v6.10.patch
deleted file mode 100644
index f9fdece8..00000000
--- a/meta-ti-bsp/recipes-kernel/linux/files/0001-vt-conmakehash-improve-reproducibility-for-v6.10.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1From 4907fa9ff1dbdd72ce9fa7855091fb604a35a62d Mon Sep 17 00:00:00 2001
2From: Ryan Eatmon <reatmon@ti.com>
3Date: Wed, 17 Jul 2024 14:55:10 -0500
4Subject: [PATCH] vt/conmakehash: improve reproducibility for v6.10
5
6The file generated by conmakehash capture the application
7path used to generate the file. While that can be informative,
8it varies based on where the kernel was built, as the full
9path is captured.
10
11We tweak the application to use a second input as the "capture
12name", and then modify the Makefile to pass the basename of
13the source, making it reproducible.
14
15This could be improved by using some sort of path mapping,
16or the application manipualing argv[1] itself, but for now
17this solves the reprodicibility issue.
18
19Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
20
21Upstream-Status: Inappropriate
22
23Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
24
25This is a minior rework of Bruce's original patch for the v6.10 kernel.
26
27Signed-off-by: Ryan Eatmon <reatmon@ti.com>
28---
29 drivers/tty/vt/Makefile | 2 +-
30 drivers/tty/vt/conmakehash.c | 2 ++
31 2 files changed, 3 insertions(+), 1 deletion(-)
32
33diff --git a/drivers/tty/vt/Makefile b/drivers/tty/vt/Makefile
34index 2c8ce8b592ed..8532077ed3bb 100644
35--- a/drivers/tty/vt/Makefile
36+++ b/drivers/tty/vt/Makefile
37@@ -15,7 +15,7 @@ clean-files := consolemap_deftbl.c defkeymap.c
38 hostprogs += conmakehash
39
40 quiet_cmd_conmk = CONMK $@
41- cmd_conmk = $(obj)/conmakehash $< > $@
42+ cmd_conmk = $(obj)/conmakehash $< $(shell basename $<) > $@
43
44 $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE) $(obj)/conmakehash
45 $(call cmd,conmk)
46diff --git a/drivers/tty/vt/conmakehash.c b/drivers/tty/vt/conmakehash.c
47index dc2177fec715..9cd4096a8ffa 100644
48--- a/drivers/tty/vt/conmakehash.c
49+++ b/drivers/tty/vt/conmakehash.c
50@@ -112,6 +112,8 @@ int main(int argc, char *argv[])
51 else
52 rel_tblname = tblname;
53
54+ rel_tblname = argv[2];
55+
56 /* For now we assume the default font is always 256 characters. */
57 fontlen = 256;
58
59--
602.17.1
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os/0001-plat-k3-drivers-Open-TRNG-firewall-for-TIFS-on-all-k.patch b/meta-ti-bsp/recipes-security/optee/optee-os/0001-plat-k3-drivers-Open-TRNG-firewall-for-TIFS-on-all-k.patch
deleted file mode 100644
index 59d7a795..00000000
--- a/meta-ti-bsp/recipes-security/optee/optee-os/0001-plat-k3-drivers-Open-TRNG-firewall-for-TIFS-on-all-k.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 00f74ba2ab00088d51e6da3c0eefe50599ef5c82 Mon Sep 17 00:00:00 2001
2From: Prasanth Babu Mantena <p-mantena@ti.com>
3Date: Mon, 3 Nov 2025 12:42:57 +0530
4Subject: [PATCH] plat-k3: drivers: Open TRNG firewall for TIFS on all k3 devs
5
6On k3 devices, TRNG is firewalled to be accessed only by OPTEE.
7
8TIFS needs this for the encryption and decryption services to support
9different low power modes. So, open firewall to TIFS as well.
10
11There is no concurrent usage of TRNG, as TIFS uses TRNG only at suspend
12when OPTEE is down and resume, when firewalls are restored but OPTEE is
13not up yet.
14
15As this is a firewall that required to be shared along with TIFS on all
16devices, making this a common change and open on all devs.
17
18Upstream-Status: Submitted [https://github.com/OP-TEE/optee_os/pull/7582]
19
20Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
21Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
22Reviewed-by: Andrew Davis <afd@ti.com>
23---
24 core/arch/arm/plat-k3/drivers/sa2ul.c | 5 -----
25 1 file changed, 5 deletions(-)
26
27diff --git a/core/arch/arm/plat-k3/drivers/sa2ul.c b/core/arch/arm/plat-k3/drivers/sa2ul.c
28index c50757b2c..e10bde131 100644
29--- a/core/arch/arm/plat-k3/drivers/sa2ul.c
30+++ b/core/arch/arm/plat-k3/drivers/sa2ul.c
31@@ -121,12 +121,7 @@ static TEE_Result sa2ul_init(void)
32 start_address = RNG_BASE;
33 end_address = RNG_BASE + RNG_REG_SIZE - 1;
34 permissions[num_perm++] = (FW_BIG_ARM_PRIVID << 16) | FW_SECURE_ONLY;
35-#if defined(PLATFORM_FLAVOR_am62x) || \
36- defined(PLATFORM_FLAVOR_am62ax) || \
37- defined(PLATFORM_FLAVOR_am62px)
38-
39 permissions[num_perm++] = (FW_TIFS_PRIVID << 16) | FW_NON_SECURE;
40-#endif
41 ret = ti_sci_set_fwl_region(fwl_id, rng_region, num_perm,
42 control, permissions,
43 start_address, end_address);
44--
452.34.1