diff options
-rw-r--r-- | recipes-bsp/imx-atf/imx-atf/0001-imx93-trdc-Fix-header-guard.patch | 35 | ||||
-rw-r--r-- | recipes-bsp/imx-atf/imx-atf_2.10.bb | 3 |
2 files changed, 37 insertions, 1 deletions
diff --git a/recipes-bsp/imx-atf/imx-atf/0001-imx93-trdc-Fix-header-guard.patch b/recipes-bsp/imx-atf/imx-atf/0001-imx93-trdc-Fix-header-guard.patch new file mode 100644 index 00000000..f475cf33 --- /dev/null +++ b/recipes-bsp/imx-atf/imx-atf/0001-imx93-trdc-Fix-header-guard.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From e82cafa7823cb2cad6ce933862b9ffdb880dba49 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
3 | Date: Tue, 10 Jun 2025 15:04:32 -0700 | ||
4 | Subject: [PATCH] imx93: trdc: Fix header guard | ||
5 | |||
6 | ``` | ||
7 | | In file included from drivers/nxp/trdc/imx_trdc.c:13: | ||
8 | | include/drivers/nxp/trdc/imx_trdc.h:7: error: header guard 'IMX_TRDC_H' followed by '#define' of a different macro [-Werror=header-guard] | ||
9 | | 7 | #ifndef IMX_TRDC_H | ||
10 | | include/drivers/nxp/trdc/imx_trdc.h:8: note: 'IMX_XRDC_H' is defined here; did you mean 'IMX_TRDC_H'? | ||
11 | | 8 | #define IMX_XRDC_H | ||
12 | ``` | ||
13 | |||
14 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-atf/pull/2] | ||
15 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
16 | --- | ||
17 | include/drivers/nxp/trdc/imx_trdc.h | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/include/drivers/nxp/trdc/imx_trdc.h b/include/drivers/nxp/trdc/imx_trdc.h | ||
21 | index 7a6200c8d..8c759c65d 100644 | ||
22 | --- a/include/drivers/nxp/trdc/imx_trdc.h | ||
23 | +++ b/include/drivers/nxp/trdc/imx_trdc.h | ||
24 | @@ -5,7 +5,7 @@ | ||
25 | */ | ||
26 | |||
27 | #ifndef IMX_TRDC_H | ||
28 | -#define IMX_XRDC_H | ||
29 | +#define IMX_TRDC_H | ||
30 | |||
31 | #define MBC_BLK_ALL U(255) | ||
32 | #define MRC_REG_ALL U(16) | ||
33 | -- | ||
34 | 2.34.1 | ||
35 | |||
diff --git a/recipes-bsp/imx-atf/imx-atf_2.10.bb b/recipes-bsp/imx-atf/imx-atf_2.10.bb index 8eacc1cf..13478bbe 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.10.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.10.bb | |||
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;m | |||
7 | 7 | ||
8 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH}" | 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ |
11 | file://0001-imx93-trdc-Fix-header-guard.patch" | ||
11 | SRCBRANCH = "lf_v2.10" | 12 | SRCBRANCH = "lf_v2.10" |
12 | SRCREV = "78a14c75a06dea39036c44ae0f9d23acc7bcaef2" | 13 | SRCREV = "78a14c75a06dea39036c44ae0f9d23acc7bcaef2" |
13 | 14 | ||