1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

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>
This commit is contained in:
Ryan Eatmon
2025-02-03 17:25:00 -06:00
parent c43e3388e4
commit eeb68bcae3
2 changed files with 34 additions and 0 deletions

View File

@@ -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"

View File

@@ -0,0 +1,32 @@
From f9c2ae13a80f3b0f309214c6b57bc3a705b71398 Mon Sep 17 00:00:00 2001
From: Ryan Eatmon <reatmon@ti.com>
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 <reatmon@ti.com>
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