]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/commit
[PDK-6463][PDK-6796][PDK-5071] UDMA: Simplify UDMA RM Configuration
authorDon Dominic <a0486429@ti.com>
Thu, 8 Oct 2020 18:56:23 +0000 (00:26 +0530)
committerDon Dominic <a0486429@ti.com>
Wed, 14 Oct 2020 12:03:09 +0000 (17:33 +0530)
commitd5a8d93a9ae9b2e84074ca046a81a8e59399b160
tree4fc5b6567ca4cac0ee0c411cf8f5ec27d89c042a
parent1557ad08907b6b9f63981750951410c4dda23e6f
[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>
17 files changed:
packages/ti/drv/udma/include/udma_rm.h
packages/ti/drv/udma/soc/V0/udma_soc.c
packages/ti/drv/udma/soc/V0/udma_soc.h
packages/ti/drv/udma/soc/V1/udma_rmcfg.c
packages/ti/drv/udma/soc/V1/udma_soc.c
packages/ti/drv/udma/soc/V1/udma_soc.h
packages/ti/drv/udma/soc/V2/udma_rmcfg.c
packages/ti/drv/udma/soc/V2/udma_soc.c
packages/ti/drv/udma/soc/V2/udma_soc.h
packages/ti/drv/udma/soc/V3/udma_soc.c
packages/ti/drv/udma/soc/V3/udma_soc.h
packages/ti/drv/udma/soc/udma_rmcfg_common.c [new file with mode: 0644]
packages/ti/drv/udma/src/makefile
packages/ti/drv/udma/src/udma.c
packages/ti/drv/udma/src/udma_priv.h
packages/ti/drv/udma/src/udma_rm.c
packages/ti/drv/udma/udma.h