summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahesh Radhakrishnan2018-06-27 14:00:01 -0500
committerMahesh Radhakrishnan2018-06-27 14:00:01 -0500
commit661dfc321c017fba2157138406a8eaf3e97a02cb (patch)
treeca7ba7e8372bdf7b41c96abac1eef0ecade5558a
parentab45c8e64f159f6869cc87d264455a919d61a83b (diff)
parent788a5a244e01ed0684a163a700aecb3ff6cbce57 (diff)
downloadpruss-lld-661dfc321c017fba2157138406a8eaf3e97a02cb.tar.gz
pruss-lld-661dfc321c017fba2157138406a8eaf3e97a02cb.tar.xz
pruss-lld-661dfc321c017fba2157138406a8eaf3e97a02cb.zip
Merge pull request #49 in PROCESSOR-SDK/pruss-lld from review_PRSDK-4163 to rtos-next
* commit '788a5a244e01ed0684a163a700aecb3ff6cbce57': Update mask to store version in pruicss_create for am65xx revid
-rw-r--r--src/pruicss_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pruicss_drv.c b/src/pruicss_drv.c
index d033f3c..0e53d4b 100644
--- a/src/pruicss_drv.c
+++ b/src/pruicss_drv.c
@@ -125,7 +125,7 @@ PRUICSS_Handle PRUICSS_create(PRUICSS_Config *config, int32_t instance)
125 object = (PRUICSS_V1_Object*)handle->object; 125 object = (PRUICSS_V1_Object*)handle->object;
126 object->instance = instance; 126 object->instance = instance;
127 temp_addr = (hwAttrs->prussCfgRegBase + CSL_ICSSCFG_REVID); 127 temp_addr = (hwAttrs->prussCfgRegBase + CSL_ICSSCFG_REVID);
128 temp_val = CSL_REG32_RD(temp_addr) & 0x7ffU; 128 temp_val = CSL_REG32_RD(temp_addr) & 0xFFFFU;
129 object->pruicss_version = temp_val; 129 object->pruicss_version = temp_val;
130 return(&config[instance-1]); 130 return(&config[instance-1]);
131 131