all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 0ead773e4e47b6816f87089f03d9937ff890708d 1495 bytes (raw)
name: gnu/packages/patches/8mq-enable-imx_hab_handler.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
From: Herman Rimm <herman@rimm.ee>
Date: Sun, 8 Dec 2024 01:13:59 +0100
Subject: [PATCH] fix(imx8m): 8mq: enable imx_hab_handler

This completes af799814e2639a03b3453744f06a73e77cb66e86.

Signed-off-by: Herman Rimm <herman@rimm.ee>
---
To submit to review.trustedfirmware.org, sign in with a GitHub account.

diff --git a/plat/imx/common/include/imx_sip_svc.h b/plat/imx/common/include/imx_sip_svc.h
index 404a82959..1948bc2eb 100644
--- a/plat/imx/common/include/imx_sip_svc.h
+++ b/plat/imx/common/include/imx_sip_svc.h
@@ -88,7 +88,8 @@ int imx_src_handler(uint32_t smc_fid, u_register_t x1,
 		    u_register_t x2, u_register_t x3, void *handle);
 #endif
 
-#if defined(PLAT_imx8mm) || defined(PLAT_imx8mn) || defined(PLAT_imx8mp)
+#if defined(PLAT_imx8mm) || defined(PLAT_imx8mn) || defined(PLAT_imx8mp) || \
+	defined(PLAT_imx8mq)
 int imx_hab_handler(uint32_t smc_fid, u_register_t x1,
 		    u_register_t x2, u_register_t x3, u_register_t x4);
 #endif
diff --git a/plat/imx/imx8m/imx8mq/platform.mk b/plat/imx/imx8m/imx8mq/platform.mk
index 73179dd0c..b1b954f1d 100644
--- a/plat/imx/imx8m/imx8mq/platform.mk
+++ b/plat/imx/imx8m/imx8mq/platform.mk
@@ -30,6 +30,7 @@ BL31_SOURCES		+=	plat/imx/common/imx8_helpers.S			\
 				plat/imx/imx8m/imx8mq/imx8mq_psci.c		\
 				plat/imx/imx8m/gpc_common.c			\
 				plat/imx/imx8m/imx_aipstz.c			\
+				plat/imx/imx8m/imx_hab.c			\
 				plat/imx/imx8m/imx8m_caam.c			\
 				plat/imx/imx8m/imx8m_ccm.c			\
 				plat/imx/imx8m/imx8m_psci_common.c		\

debug log:

solving 0ead773e4e ...
found 0ead773e4e in https://yhetil.org/guix/c248400b84ce887b5476e812491867a46bfdb842.1734090979.git.herman@rimm.ee/

applying [1/1] https://yhetil.org/guix/c248400b84ce887b5476e812491867a46bfdb842.1734090979.git.herman@rimm.ee/
diff --git a/gnu/packages/patches/8mq-enable-imx_hab_handler.patch b/gnu/packages/patches/8mq-enable-imx_hab_handler.patch
new file mode 100644
index 0000000000..0ead773e4e

1:22: space before tab in indent.
 		    u_register_t x2, u_register_t x3, void *handle);
1:24: trailing whitespace.
 
1:29: space before tab in indent.
 		    u_register_t x2, u_register_t x3, u_register_t x4);
1:36: space before tab in indent.
 				plat/imx/imx8m/imx8mq/imx8mq_psci.c		\
1:37: space before tab in indent.
 				plat/imx/imx8m/gpc_common.c			\
Checking patch gnu/packages/patches/8mq-enable-imx_hab_handler.patch...
Applied patch gnu/packages/patches/8mq-enable-imx_hab_handler.patch cleanly.
warning: squelched 4 whitespace errors
warning: 9 lines add whitespace errors.

index at:
100644 0ead773e4e47b6816f87089f03d9937ff890708d	gnu/packages/patches/8mq-enable-imx_hab_handler.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.