Unverified Commit 22cde67b authored by Antonio Niño Díaz's avatar Antonio Niño Díaz Committed by GitHub
Browse files

Merge pull request #1837 from spencercw/master

imx: Configure CAAM job rings master ID for i.MX8MQ
Showing with 10 additions and 0 deletions
+10 -0
...@@ -84,6 +84,11 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1, ...@@ -84,6 +84,11 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
mmio_write_32(IMX_CSU_BASE + i * 4, 0xffffffff); mmio_write_32(IMX_CSU_BASE + i * 4, 0xffffffff);
} }
/* config CAAM JRaMID set MID to Cortex A */
mmio_write_32(CAAM_JR0MID, CAAM_NS_MID);
mmio_write_32(CAAM_JR1MID, CAAM_NS_MID);
mmio_write_32(CAAM_JR2MID, CAAM_NS_MID);
#if DEBUG_CONSOLE #if DEBUG_CONSOLE
static console_uart_t console; static console_uart_t console;
......
...@@ -119,3 +119,8 @@ ...@@ -119,3 +119,8 @@
#define DEBUG_CONSOLE 0 #define DEBUG_CONSOLE 0
#define IMX_WDOG_B_RESET #define IMX_WDOG_B_RESET
#define PLAT_IMX8M 1 #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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment