author | Don Dominic <a0486429@ti.com> | |
Thu, 8 Oct 2020 18:56:23 +0000 (00:26 +0530) | ||
committer | Don Dominic <a0486429@ti.com> | |
Wed, 14 Oct 2020 12:03:09 +0000 (17:33 +0530) | ||
commit | d5a8d93a9ae9b2e84074ca046a81a8e59399b160 | |
tree | 4fc5b6567ca4cac0ee0c411cf8f5ec27d89c042a | tree | snapshot (tar.xz tar.gz zip) |
parent | 1557ad08907b6b9f63981750951410c4dda23e6f | commit | diff |
[PDK-6463][PDK-6796][PDK-5071] UDMA: Simplify UDMA RM Configuration
* Implemented for J721E and J7200
* AM65XX and AM64X will be included later after aligning the defaultBoardCfg (This SOC's will continue using old approach of udma_rmcfg)
- Simplify RM Configuration by querying from defaultBoardCfg
- Using #Sciclient_rmGetResourceRange to populate #Udma_RmInitPrms
- Removes all hard-codings in udma_rmcfg.c
- Splits shared resources like GlobalEvents/VINTR/IR_INTR across MCU/MAIN NAVSS Instances (OR)
Splits MAIN NAVSS RX Free Flows assigned to #TISCI_HOST_ID_ALL across various cores
based on the prms in #Udma_RmSharedResPrms (UDMA RM Shared Resource parameters)
- User can override default UDMA RM Shared Resource parameters, using Udma_rmGetSharedResPrms API
- Moved UdmaRmInitPrms_init to 'udma_rmcfg_common.c' in 'soc' folder.
This API will return error, if it fails to init #Udma_RmInitPrms
Signed-off-by: Don Dominic <a0486429@ti.com>
* Implemented for J721E and J7200
* AM65XX and AM64X will be included later after aligning the defaultBoardCfg (This SOC's will continue using old approach of udma_rmcfg)
- Simplify RM Configuration by querying from defaultBoardCfg
- Using #Sciclient_rmGetResourceRange to populate #Udma_RmInitPrms
- Removes all hard-codings in udma_rmcfg.c
- Splits shared resources like GlobalEvents/VINTR/IR_INTR across MCU/MAIN NAVSS Instances (OR)
Splits MAIN NAVSS RX Free Flows assigned to #TISCI_HOST_ID_ALL across various cores
based on the prms in #Udma_RmSharedResPrms (UDMA RM Shared Resource parameters)
- User can override default UDMA RM Shared Resource parameters, using Udma_rmGetSharedResPrms API
- Moved UdmaRmInitPrms_init to 'udma_rmcfg_common.c' in 'soc' folder.
This API will return error, if it fails to init #Udma_RmInitPrms
Signed-off-by: Don Dominic <a0486429@ti.com>
17 files changed: