u-boot: Fix implicit declaration compile error
PATCH 1/1 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 <[email protected]>
--- .../u-boot/u-boot-ti-staging_2025.01.bb | 2 ++ ...-Fix-implicit-definition-of-ti_secur.patch | 32 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 meta-ti-bsp/recipes-bsp/u-boot/u-boot/0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb +2 -0
@@ -6,4 +6,6 @@ PR = "r0" BRANCH = "ti-u-boot-2025.01" +SRC_URI += "file://0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch" + SRCREV = "4e9c90ad8b12cc5b4fdd1308bc3ac3e4fc869aab"
meta-ti-bsp/recipes-bsp/u-boot/u-boot/0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch new file +32 -0
@@ -0,0 +1,32 @@ +From f9c2ae13a80f3b0f309214c6b57bc3a705b71398 Mon Sep 17 00:00:00 2001 +From: Ryan Eatmon <[email protected]> +Date: Mon, 3 Feb 2025 16:54:24 -0600 +Subject: [tiU25.01]] remoteproc: k3-m4: Fix implicit definition of + ti_secure_image_post_process + +Add missing include to make sure that ti_secure_image_post_process() is +not implicitly declared. + +Signed-off-by: Ryan Eatmon <[email protected]> + +Upstream-Status: Pending + +--- + drivers/remoteproc/ti_k3_m4_rproc.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/remoteproc/ti_k3_m4_rproc.c b/drivers/remoteproc/ti_k3_m4_rproc.c +index 5a5ae2fa81d..516c817385e 100644 +--- a/drivers/remoteproc/ti_k3_m4_rproc.c ++++ b/drivers/remoteproc/ti_k3_m4_rproc.c +@@ -20,6 +20,7 @@ + #include <linux/sizes.h> + #include <linux/soc/ti/ti_sci_protocol.h> + #include "ti_sci_proc.h" ++#include <mach/security.h> + + /** + * struct k3_m4_mem - internal memory structure +-- +2.17.1 +
Signature · 1 line
2.17.1
Quoted 9 lines · Ryan Eatmon
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 <[email protected]>--- .../u-boot/u-boot-ti-staging_2025.01.bb | 2 ++ ...-Fix-implicit-definition-of-ti_secur.patch | 32 +++++++++++++++++++
pulled this patch to ti-u-boot-2025.01-next
Quoted 52 lines
2 files changed, 34 insertions(+)create mode 100644
meta-ti-bsp/recipes-bsp/u-boot/u-boot/0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patchmeta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb +2
-0@@ -6,4 +6,6 @@ PR = "r0" BRANCH = "ti-u-boot-2025.01" +SRC_URI += "file://0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch" + SRCREV = "4e9c90ad8b12cc5b4fdd1308bc3ac3e4fc869aab"meta-ti-bsp/recipes-bsp/u-boot/u-boot/0001-remoteproc-k3-m4-Fix-implicit-definition-of-ti_secur.patch new file +32
-0@@ -0,0 +1,32 @@ +From f9c2ae13a80f3b0f309214c6b57bc3a705b71398 Mon Sep 17 00:00:00 2001 +From: Ryan Eatmon <[email protected]> +Date: Mon, 3 Feb 2025 16:54:24 -0600 +Subject: [tiU25.01]] remoteproc: k3-m4: Fix implicit definition of + ti_secure_image_post_process + +Add missing include to make sure that ti_secure_image_post_process() is +not implicitly declared. + +Signed-off-by: Ryan Eatmon <[email protected]> + +Upstream-Status: Pending + +--- + drivers/remoteproc/ti_k3_m4_rproc.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/remoteproc/ti_k3_m4_rproc.c b/drivers/remoteproc/ti_k3_m4_rproc.c +index 5a5ae2fa81d..516c817385e 100644 +--- a/drivers/remoteproc/ti_k3_m4_rproc.c ++++ b/drivers/remoteproc/ti_k3_m4_rproc.c +@@ -20,6 +20,7 @@ + #include <linux/sizes.h> + #include <linux/soc/ti/ti_sci_protocol.h> + #include "ti_sci_proc.h" ++#include <mach/security.h> + + /** + * struct k3_m4_mem - internal memory structure +-- +2.17.1 +