diff --git a/include/fm_loc.h b/include/fm_loc.h
index 192964d77e6a024c3a1159791d989b1d44ee2ac7..bf02f3660eedb79114be444e0176e1b4033188ff 100644 (file)
--- a/include/fm_loc.h
+++ b/include/fm_loc.h
#define FM_FALSE 0
#define FM_TRUE 1
+#if (defined(DEVICE_K2E) || defined(DEVICE_K2H) || \
+ defined(DEVICE_K2K) || defined(DEVICE_K2L))
+/* ARM Corepacs start at IPCGR8 for K2 devices */
+#define FM_ARM_HOST_IPCGR_INDEX 8
+#endif
+
/* Fault interrupt to Host is above the bits used by regular IPC. This is the
* offset to be used for setting the IPCGRH register bit */
#define FM_HOST_IPCGR_OFFSET 8