diff options
| author | Ryan Eatmon <reatmon@ti.com> | 2026-02-23 16:06:50 -0600 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2026-02-23 16:33:03 -0600 |
| commit | f60581dc51d0d8e2ac5306ef5866421f13197c6b (patch) | |
| tree | 1ea3cb08e73ac4e843b2e6b1951602a63c8db235 | |
| parent | fdca2e3472893c7f21188327805b83c6a0b32850 (diff) | |
| download | meta-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>
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 @@ | |||
| 1 | From 4907fa9ff1dbdd72ce9fa7855091fb604a35a62d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ryan Eatmon <reatmon@ti.com> | ||
| 3 | Date: Wed, 17 Jul 2024 14:55:10 -0500 | ||
| 4 | Subject: [PATCH] vt/conmakehash: improve reproducibility for v6.10 | ||
| 5 | |||
| 6 | The file generated by conmakehash capture the application | ||
| 7 | path used to generate the file. While that can be informative, | ||
| 8 | it varies based on where the kernel was built, as the full | ||
| 9 | path is captured. | ||
| 10 | |||
| 11 | We tweak the application to use a second input as the "capture | ||
| 12 | name", and then modify the Makefile to pass the basename of | ||
| 13 | the source, making it reproducible. | ||
| 14 | |||
| 15 | This could be improved by using some sort of path mapping, | ||
| 16 | or the application manipualing argv[1] itself, but for now | ||
| 17 | this solves the reprodicibility issue. | ||
| 18 | |||
| 19 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 20 | |||
| 21 | Upstream-Status: Inappropriate | ||
| 22 | |||
| 23 | Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> | ||
| 24 | |||
| 25 | This is a minior rework of Bruce's original patch for the v6.10 kernel. | ||
| 26 | |||
| 27 | Signed-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 | |||
| 33 | diff --git a/drivers/tty/vt/Makefile b/drivers/tty/vt/Makefile | ||
| 34 | index 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) | ||
| 46 | diff --git a/drivers/tty/vt/conmakehash.c b/drivers/tty/vt/conmakehash.c | ||
| 47 | index 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 | -- | ||
| 60 | 2.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 @@ | |||
| 1 | From 00f74ba2ab00088d51e6da3c0eefe50599ef5c82 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Prasanth Babu Mantena <p-mantena@ti.com> | ||
| 3 | Date: Mon, 3 Nov 2025 12:42:57 +0530 | ||
| 4 | Subject: [PATCH] plat-k3: drivers: Open TRNG firewall for TIFS on all k3 devs | ||
| 5 | |||
| 6 | On k3 devices, TRNG is firewalled to be accessed only by OPTEE. | ||
| 7 | |||
| 8 | TIFS needs this for the encryption and decryption services to support | ||
| 9 | different low power modes. So, open firewall to TIFS as well. | ||
| 10 | |||
| 11 | There is no concurrent usage of TRNG, as TIFS uses TRNG only at suspend | ||
| 12 | when OPTEE is down and resume, when firewalls are restored but OPTEE is | ||
| 13 | not up yet. | ||
| 14 | |||
| 15 | As this is a firewall that required to be shared along with TIFS on all | ||
| 16 | devices, making this a common change and open on all devs. | ||
| 17 | |||
| 18 | Upstream-Status: Submitted [https://github.com/OP-TEE/optee_os/pull/7582] | ||
| 19 | |||
| 20 | Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com> | ||
| 21 | Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com> | ||
| 22 | Reviewed-by: Andrew Davis <afd@ti.com> | ||
| 23 | --- | ||
| 24 | core/arch/arm/plat-k3/drivers/sa2ul.c | 5 ----- | ||
| 25 | 1 file changed, 5 deletions(-) | ||
| 26 | |||
| 27 | diff --git a/core/arch/arm/plat-k3/drivers/sa2ul.c b/core/arch/arm/plat-k3/drivers/sa2ul.c | ||
| 28 | index 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 | -- | ||
| 45 | 2.34.1 | ||
