summaryrefslogtreecommitdiff
path: root/plat/imx/imx8m/imx8mq/include
diff options
context:
space:
mode:
authorChris Spencer <christopher.spencer@sea.co.uk>2019-02-21 08:35:26 +0000
committerChris Spencer <spencercw@gmail.com>2019-02-22 14:20:01 +0000
commit45a95e3908591634a3fbfd5490ec1ec695f89394 (patch)
tree4d5a90e4d549fd180c56a13a5a1442c961e68b0a /plat/imx/imx8m/imx8mq/include
parent5ba32a7660051464ed1d56129adf2606db54b5e3 (diff)
imx: Configure CAAM job rings master ID for i.MX8MQ
For i.MX8MQ B0 revision the default configuration of JRaMID is not valid to allow the kernel to use the CAAM job rings. This patch sets the master ID of the Cortex A in the JRaMID registers. Signed-off-by: Chris Spencer <christopher.spencer@sea.co.uk>
Diffstat (limited to 'plat/imx/imx8m/imx8mq/include')
-rw-r--r--plat/imx/imx8m/imx8mq/include/platform_def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/imx/imx8m/imx8mq/include/platform_def.h b/plat/imx/imx8m/imx8mq/include/platform_def.h
index 4957582a..5c5b0a5f 100644
--- a/plat/imx/imx8m/imx8mq/include/platform_def.h
+++ b/plat/imx/imx8m/imx8mq/include/platform_def.h
@@ -119,3 +119,8 @@
#define DEBUG_CONSOLE 0
#define IMX_WDOG_B_RESET
#define PLAT_IMX8M 1
+
+#define CAAM_JR0MID U(0x30900010)
+#define CAAM_JR1MID U(0x30900018)
+#define CAAM_JR2MID U(0x30900020)
+#define CAAM_NS_MID U(0x1)