diff options
author | Tinku Mannan | 2015-08-19 13:59:49 -0500 |
---|---|---|
committer | Tinku Mannan | 2015-08-19 14:03:46 -0500 |
commit | f20f1bb15684d4baf4f127b9c35495cff50d59b5 (patch) | |
tree | 9d877e80bc0a17f330e11444849d288dc03215d5 /src/pruicss_intc.c | |
parent | ea365d052a867191532467ab7251fc978334148c (diff) | |
download | pruss-lld-f20f1bb15684d4baf4f127b9c35495cff50d59b5.tar.gz pruss-lld-f20f1bb15684d4baf4f127b9c35495cff50d59b5.tar.xz pruss-lld-f20f1bb15684d4baf4f127b9c35495cff50d59b5.zip |
Addding makefile and soc files for AM335x and AM437x, cleanup.
Diffstat (limited to 'src/pruicss_intc.c')
-rwxr-xr-x[-rw-r--r--] | src/pruicss_intc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pruicss_intc.c b/src/pruicss_intc.c index 4288cd9..74ab332 100644..100755 --- a/src/pruicss_intc.c +++ b/src/pruicss_intc.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <ti/drv/pruss/pruicss.h> | 46 | #include <ti/drv/pruss/pruicss.h> |
47 | #include <ti/drv/pruss/soc/pruicss_v1.h> | 47 | #include <ti/drv/pruss/soc/pruicss_v1.h> |
48 | #include <ti/drv/pruss/pruicss_osal.h> | 48 | #include <ti/drv/pruss/pruicss_osal.h> |
49 | #include <ti/csl/soc/am572x/src/cslr_soc_mpu_baseaddress.h> | ||
50 | #include <ti/csl/cslr_icss_intc.h> | 49 | #include <ti/csl/cslr_icss_intc.h> |
51 | #include <ti/csl/hw_types.h> | 50 | #include <ti/csl/hw_types.h> |
52 | 51 | ||
@@ -133,10 +132,12 @@ int PRUICSS_pruIntcInit(PRUICSS_Handle handle,PRUICSS_IntcInitData * prussintc_i | |||
133 | object = handle->object; | 132 | object = handle->object; |
134 | 133 | ||
135 | if(object->instance == PRUICCSS_INSTANCE_ONE) { | 134 | if(object->instance == PRUICCSS_INSTANCE_ONE) { |
136 | baseaddr = CSL_MPU_PRUSS1_U_INTC_REGS; | 135 | //baseaddr = CSL_MPU_PRUSS1_U_INTC_REGS; |
136 | baseaddr = hwAttrs->prussIntcRegBase; | ||
137 | } | 137 | } |
138 | else if(object->instance == PRUICCSS_INSTANCE_TWO ) { | 138 | else if(object->instance == PRUICCSS_INSTANCE_TWO ) { |
139 | baseaddr = CSL_MPU_PRUSS2_U_INTC_REGS; | 139 | //baseaddr = CSL_MPU_PRUSS2_U_INTC_REGS; |
140 | baseaddr = hwAttrs->prussIntcRegBase; | ||
140 | } | 141 | } |
141 | else | 142 | else |
142 | { | 143 | { |