diff options
author | Sinthu Raja M | 2019-05-08 03:42:58 -0500 |
---|---|---|
committer | Sinthu Raja M | 2019-05-08 03:42:58 -0500 |
commit | 5c28f4686294c76856a5e8365f3397ec28cea6e9 (patch) | |
tree | 0951ecc86f5c189c44d65feb60ecb375f424053a | |
parent | 20750e17302116f3760aba68f8323ae110d1cbd0 (diff) | |
download | edma3_lld-5c28f4686294c76856a5e8365f3397ec28cea6e9.tar.gz edma3_lld-5c28f4686294c76856a5e8365f3397ec28cea6e9.tar.xz edma3_lld-5c28f4686294c76856a5e8365f3397ec28cea6e9.zip |
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.
-rwxr-xr-x | packages/ti/sdo/edma3/drv/sample/package.xs | 6 | ||||
-rwxr-xr-x | packages/ti/sdo/edma3/drv/sample/src/sample_arm_cs.c | 14 |
2 files changed, 8 insertions, 12 deletions
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 @@ | |||
3 | * | 3 | * |
4 | * xdc script file for the EDMA DRV package. | 4 | * xdc script file for the EDMA DRV package. |
5 | * | 5 | * |
6 | * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ | 6 | * Copyright (C) 2009 - 2019 Texas Instruments Incorporated - http://www.ti.com/ |
7 | * | 7 | * |
8 | * | 8 | * |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without |
@@ -177,3 +177,7 @@ function getLibs(prog) | |||
177 | return (lib); | 177 | return (lib); |
178 | } | 178 | } |
179 | 179 | ||
180 | function init() { | ||
181 | xdc.loadPackage("ti.sysbios"); | ||
182 | } | ||
183 | |||
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 @@ | |||
6 | * These implementations MUST be provided by the user / application, using the | 6 | * These implementations MUST be provided by the user / application, using the |
7 | * EDMA3 driver, for its correct functioning. | 7 | * EDMA3 driver, for its correct functioning. |
8 | * | 8 | * |
9 | * Copyright (C) 2009 - 2016 Texas Instruments Incorporated - http://www.ti.com/ | 9 | * Copyright (C) 2009 - 2019 Texas Instruments Incorporated - http://www.ti.com/ |
10 | * | 10 | * |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
@@ -38,17 +38,9 @@ | |||
38 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 38 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
39 | * | 39 | * |
40 | */ | 40 | */ |
41 | #ifdef GCC_BUILD | 41 | |
42 | #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)) | ||
43 | #include <ti/sysbios/family/arm/a15/Cache.h> | ||
44 | #elif (defined (BUILD_CENTAURUS_A8) || defined (BUILD_AM335X_A8)) | ||
45 | #include <ti/sysbios/family/arm/a8/Cache.h> | ||
46 | #elif defined (BUILD_AM437X_A9) | ||
47 | #include <ti/sysbios/family/arm/a9/Cache.h> | ||
48 | #endif | ||
49 | #else | ||
50 | #include <ti/sysbios/hal/Cache.h> | 42 | #include <ti/sysbios/hal/Cache.h> |
51 | #endif | 43 | |
52 | #include <ti/sysbios/hal/Hwi.h> | 44 | #include <ti/sysbios/hal/Hwi.h> |
53 | #include <ti/sysbios/knl/Task.h> | 45 | #include <ti/sysbios/knl/Task.h> |
54 | #include <ti/sysbios/knl/Semaphore.h> | 46 | #include <ti/sysbios/knl/Semaphore.h> |