diff options
author | Ryan Eatmon <reatmon@ti.com> | 2025-02-03 17:25:00 -0600 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-02-03 17:25:00 -0600 |
commit | eeb68bcae31b60273331245cb849fa6635b74352 (patch) | |
tree | 71b5377104912ba416eed635d409c37657baaef4 | |
parent | c43e3388e409756cdb61a4f68272a957f1a1b772 (diff) | |
download | meta-ti-eeb68bcae31b60273331245cb849fa6635b74352.tar.gz |
u-boot: Fix implicit declaration compile error
A recent patch to ti-u-boot 2025.01 introduces a compile error on
master for am64xx-evm. A patch has been sent to the mailing list
that fixes this, but it will take time before we will see that patch
available to us on master. So we need to carry the patch here.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb | 2 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot/0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb index 5e56d2db..c041ffe8 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb | |||
@@ -6,4 +6,6 @@ PR = "r0" | |||
6 | 6 | ||
7 | BRANCH = "ti-u-boot-2025.01" | 7 | BRANCH = "ti-u-boot-2025.01" |
8 | 8 | ||
9 | SRC_URI += "file://0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch" | ||
10 | |||
9 | SRCREV = "4e9c90ad8b12cc5b4fdd1308bc3ac3e4fc869aab" | 11 | SRCREV = "4e9c90ad8b12cc5b4fdd1308bc3ac3e4fc869aab" |
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot/0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch b/meta-ti-bsp/recipes-bsp/u-boot/u-boot/0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch new file mode 100644 index 00000000..c6b15651 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot/0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From f9c2ae13a80f3b0f309214c6b57bc3a705b71398 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ryan Eatmon <reatmon@ti.com> | ||
3 | Date: Mon, 3 Feb 2025 16:54:24 -0600 | ||
4 | Subject: [tiU25.01]] remoteproc: k3-m4: Fix implicit definition of | ||
5 | ti_secure_image_post_process | ||
6 | |||
7 | Add missing include to make sure that ti_secure_image_post_process() is | ||
8 | not implicitly declared. | ||
9 | |||
10 | Signed-off-by: Ryan Eatmon <reatmon@ti.com> | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | --- | ||
15 | drivers/remoteproc/ti_k3_m4_rproc.c | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/drivers/remoteproc/ti_k3_m4_rproc.c b/drivers/remoteproc/ti_k3_m4_rproc.c | ||
19 | index 5a5ae2fa81d..516c817385e 100644 | ||
20 | --- a/drivers/remoteproc/ti_k3_m4_rproc.c | ||
21 | +++ b/drivers/remoteproc/ti_k3_m4_rproc.c | ||
22 | @@ -20,6 +20,7 @@ | ||
23 | #include <linux/sizes.h> | ||
24 | #include <linux/soc/ti/ti_sci_protocol.h> | ||
25 | #include "ti_sci_proc.h" | ||
26 | +#include <mach/security.h> | ||
27 | |||
28 | /** | ||
29 | * struct k3_m4_mem - internal memory structure | ||
30 | -- | ||
31 | 2.17.1 | ||
32 | |||