Skip to content

Commit 74b93ba

Browse files
TomasGalbickaNXPkartben
authored andcommitted
soc: NXP RT1180 fix trdc permissions set multicore
This commits repairs calling function trdc_enable_all_access() only when using build for standalone CM33 or CM7 core build. For the multicore this function should be called only by CM33 core. Signed-off-by: Tomas Galbicka <[email protected]>
1 parent b5de630 commit 74b93ba

File tree

1 file changed

+3
-3
lines changed
  • soc/nxp/imxrt/imxrt118x

1 file changed

+3
-3
lines changed

soc/nxp/imxrt/imxrt118x/soc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ LOG_MODULE_REGISTER(soc, CONFIG_SOC_LOG_LEVEL);
5959
#define EDMA_DID 0x7U
6060

6161
/* When CM33 sets TRDC, CM7 must NOT require TRDC ownership from ELE */
62-
#if defined(CONFIG_SECOND_CORE_MCUX) && defined(CONFIG_SOC_MIMXRT1189_CM33)
62+
#if defined(CONFIG_SECOND_CORE_MCUX) && defined(CONFIG_SOC_MIMXRT1189_CM7)
6363
/* When CONFIG_SECOND_CORE_MCUX then TRDC(AON/WAKEUP) ownership cannot be released
6464
* to CM33 and CM7 both in one ELE reset cycle.
6565
* Only CM33 will set TRDC.
6666
*/
67-
#define CM33_SET_TRDC 1U
68-
#else
6967
#define CM33_SET_TRDC 0U
68+
#else
69+
#define CM33_SET_TRDC 1U
7070
#endif
7171

7272
#ifdef CONFIG_INIT_ARM_PLL

0 commit comments

Comments
 (0)