]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/tcp3d-lld.git/blobdiff - test/src/tcp3d_single_inst.h
Test/Example: Re-define some CSL defintions to cover both keystone and keystone2...
[keystone-rtos/tcp3d-lld.git] / test / src / tcp3d_single_inst.h
index 9e0563bbd7151b289247475cc38b3fcdb9f245a1..12f078e08dbf951788f486ad8d43b82b46fbdf12 100644 (file)
 #ifndef _TCP3D_SINGLE_INST_H_\r
 #define _TCP3D_SINGLE_INST_H_\r
 \r
+#ifdef CSL_TCP3D_A\r
+/* Convert Keystone CSL definitions ti Keystone2 CSL definitions */\r
+#define CSL_EDMACC_2_REGS       CSL_EDMA2CC_REGS\r
+#define CSL_CIC_0_REGS          CSL_CP_INTC_0_REGS\r
+#define CSL_TCP3D_0             CSL_TCP3D_A\r
+#define CSL_TCP3D_0_CFG_REGS    CSL_TCP3D_A_CFG_REGS\r
+#define CSL_TCP3D_0_DATA_REGS   CSL_TCP3D_A_DATA_REGS\r
+#endif\r
+\r
 /**\r
  * Test TCP3D Notification Events\r
  */\r