summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ca496aa)
raw | patch | inline | side by side (parent: ca496aa)
author | Don Dominic <a0486429@ti.com> | |
Fri, 20 Nov 2020 14:31:14 +0000 (20:01 +0530) | ||
committer | Sivaraj R <sivaraj@ti.com> | |
Fri, 20 Nov 2020 16:19:53 +0000 (10:19 -0600) |
- For c7x-host-emu:
- Reserve 16 DRU channels &
- 32 Free Rings(in allignment with current BoardCfg for C7x) - Since there is Indirect TR usecase with dmautils
- DMSC/SCICLIENT is NA for host emu
- Hence querying from the BoardCfg is not supported.
- Therefore updating the sciclient_dummy.c file to return these ranges for c7x-host-emu
Signed-off-by: Don Dominic <a0486429@ti.com>
- Reserve 16 DRU channels &
- 32 Free Rings(in allignment with current BoardCfg for C7x) - Since there is Indirect TR usecase with dmautils
- DMSC/SCICLIENT is NA for host emu
- Hence querying from the BoardCfg is not supported.
- Therefore updating the sciclient_dummy.c file to return these ranges for c7x-host-emu
Signed-off-by: Don Dominic <a0486429@ti.com>
packages/ti/drv/sciclient/src/sciclient/sciclient_dummy.c | patch | blob | history |
diff --git a/packages/ti/drv/sciclient/src/sciclient/sciclient_dummy.c b/packages/ti/drv/sciclient/src/sciclient/sciclient_dummy.c
index 54266ee90c77861a88fda6d96c5d11d1c4e1145a..9030b49ba3817c86ca4670c721520ab30fcf8f14 100644 (file)
resp->range_start_sec = 5U;
resp->range_num_sec = 5U;
+#if defined (BUILD_C7X_1)
+ if(TISCI_RESASG_SUBTYPE_UDMAP_TX_ECHAN == req->subtype)
+ {
+ /* Return 16 DRU Channels for c7x-host-emu */
+ resp->range_start = 0U;
+ resp->range_num = 16U;
+ }
+ else if(TISCI_RESASG_SUBTYPE_RA_GP == req->subtype)
+ {
+ /* Return 32 Free Rings for c7x-host-emu */
+ resp->range_start = 662U;
+ resp->range_num = 32U;
+ }
+#endif
+
return retVal;
}
#endif