summaryrefslogtreecommitdiff
path: root/platform/devices/device_imx.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/devices/device_imx.h')
-rw-r--r--platform/devices/device_imx.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/platform/devices/device_imx.h b/platform/devices/device_imx.h
index fe1b21b..b90fbcc 100644
--- a/platform/devices/device_imx.h
+++ b/platform/devices/device_imx.h
@@ -48,12 +48,14 @@
*
* The CPU macro should be declared in the project or makefile.
*/
-#if defined(CPU_IMX6SX_M4)
+#if defined(CPU_MCIMX6X_M4)
/* CMSIS-style register definitions */
- #include "MCIMX6X/include/MCIMX6SX_M4.h"
+ #include "MCIMX6X/include/MCIMX6X_M4.h"
+ #define RDC_SEMAPHORE_MASTER_SELF (5)
+ #define SEMA4_PROCESSOR_SELF (1)
-#elif defined(CPU_IMX7D_M4)
+#elif defined(CPU_MCIMX7D_M4)
/* CMSIS-style register definitions */
#include "MCIMX7D/include/MCIMX7D_M4.h"