From: Sinthu Raja M Date: Wed, 8 May 2019 08:42:58 +0000 (+0530) Subject: PRSDK-5267 Add support to enable SMP mode X-Git-Tag: DEV_EDMA3_LLD_02_12_05_30E~3^2 X-Git-Url: https://git.ti.com/gitweb?p=keystone-rtos%2Fedma3_lld.git;a=commitdiff_plain;h=5c28f4686294c76856a5e8365f3397ec28cea6e9;hp=20750e17302116f3760aba68f8323ae110d1cbd0 PRSDK-5267 Add support to enable SMP mode Remove platform specifc cache header files from SYSBIOS. Add generic cache header file to allow BIOS to choose appropriate cache APIs based on the RTSC config file. --- diff --git a/packages/ti/sdo/edma3/drv/sample/package.xs b/packages/ti/sdo/edma3/drv/sample/package.xs index 0221c22..dacd2fc 100755 --- a/packages/ti/sdo/edma3/drv/sample/package.xs +++ b/packages/ti/sdo/edma3/drv/sample/package.xs @@ -3,7 +3,7 @@ * * xdc script file for the EDMA DRV package. * - * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ + * Copyright (C) 2009 - 2019 Texas Instruments Incorporated - http://www.ti.com/ * * * Redistribution and use in source and binary forms, with or without @@ -177,3 +177,7 @@ function getLibs(prog) return (lib); } +function init() { + xdc.loadPackage("ti.sysbios"); +} + diff --git a/packages/ti/sdo/edma3/drv/sample/src/sample_arm_cs.c b/packages/ti/sdo/edma3/drv/sample/src/sample_arm_cs.c index 7348ac5..3a6c2bd 100755 --- a/packages/ti/sdo/edma3/drv/sample/src/sample_arm_cs.c +++ b/packages/ti/sdo/edma3/drv/sample/src/sample_arm_cs.c @@ -6,7 +6,7 @@ * These implementations MUST be provided by the user / application, using the * EDMA3 driver, for its correct functioning. * - * Copyright (C) 2009 - 2016 Texas Instruments Incorporated - http://www.ti.com/ + * Copyright (C) 2009 - 2019 Texas Instruments Incorporated - http://www.ti.com/ * * * Redistribution and use in source and binary forms, with or without @@ -38,17 +38,9 @@ * 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 -#elif (defined (BUILD_CENTAURUS_A8) || defined (BUILD_AM335X_A8)) -#include -#elif defined (BUILD_AM437X_A9) -#include -#endif -#else + #include -#endif + #include #include #include