Revert "PRSDK-5267 Add support to enable SMP mode"
authorM V Pratap Reddy <x0257344@ti.com>
Thu, 23 May 2019 14:50:35 +0000 (20:20 +0530)
committerM V Pratap Reddy <x0257344@ti.com>
Thu, 23 May 2019 14:50:50 +0000 (20:20 +0530)
 Reverting the changes done for SMP mode as they cause build failure.

packages/ti/sdo/edma3/drv/sample/package.xs
packages/ti/sdo/edma3/drv/sample/src/sample_arm_cs.c

index dacd2fc15b8de0a9c04032cbcbfc5b2660f1f831..0221c2271a33996ac1d676c6b52d05665b692b97 100755 (executable)
@@ -3,7 +3,7 @@
  *
  * xdc script file for the EDMA DRV package.
  *
- * Copyright (C) 2009 - 2019 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -177,7 +177,3 @@ function getLibs(prog)
     return (lib);
 }
 
-function init() {
-    xdc.loadPackage("ti.sysbios");
-}
-
index 3a6c2bd64f30812c403ee2707acea14392bb607f..7348ac5a08246fb7b10c913bfbc39ee97c0159dc 100755 (executable)
@@ -6,7 +6,7 @@
  * These implementations MUST be provided by the user / application, using the
  * EDMA3 driver, for its correct functioning.
  *
- * Copyright (C) 2009 - 2019 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2009 - 2016 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
  *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
 */
-
+#ifdef GCC_BUILD
+#if (defined(BUILD_TDA2XX_MPU) || defined(BUILD_DRA72X_MPU) || defined(BUILD_AM572X_MPU) || defined(BUILD_AM571X_MPU) || defined(BUILD_K2H_MPU) || defined(BUILD_K2K_MPU) || defined(BUILD_K2E_MPU) || defined(BUILD_K2L_MPU) || defined(BUILD_K2G_MPU))
+#include <ti/sysbios/family/arm/a15/Cache.h>
+#elif (defined (BUILD_CENTAURUS_A8) || defined (BUILD_AM335X_A8))
+#include <ti/sysbios/family/arm/a8/Cache.h>
+#elif defined (BUILD_AM437X_A9)
+#include <ti/sysbios/family/arm/a9/Cache.h>
+#endif
+#else
 #include <ti/sysbios/hal/Cache.h>
-
+#endif
 #include <ti/sysbios/hal/Hwi.h>
 #include <ti/sysbios/knl/Task.h>
 #include <ti/sysbios/knl/Semaphore.h>