PDK-6291: UDMA unit test app is failing for all the cores
[processor-sdk/pdk.git] / packages / ti / drv / udma / unit_test / udma_ut / src / udma_testconfig.h
index 4379e416ee270e2148102fe097607252339c16e5..cee3b80b092c80e4114e61565006df2016f03b84 100644 (file)
@@ -123,7 +123,7 @@ static const UdmaTestRxChPrm gUdmaTestRxChPrm[] =
             .busOrderId         = UDMA_DEFAULT_RX_CH_BUS_ORDERID,
             .dmaPriority        = UDMA_DEFAULT_RX_CH_DMA_PRIORITY,
             .flowIdFwRangeStart = 0U,  /* Flow ID not used */
-            .flowIdFwRangeCnt   = 0x4000U,
+            .flowIdFwRangeCnt   = 0U,  /* Flow ID not used */
             .ignoreShortPkts    = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .ignoreLongPkts     = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .configDefaultFlow  = TRUE,
@@ -144,7 +144,7 @@ static const UdmaTestRxChPrm gUdmaTestRxChPrm[] =
             .busOrderId         = UDMA_DEFAULT_RX_CH_BUS_ORDERID,
             .dmaPriority        = TISCI_MSG_VALUE_RM_UDMAP_CH_SCHED_PRIOR_HIGH,
             .flowIdFwRangeStart = 0U,  /* Flow ID not used */
-            .flowIdFwRangeCnt   = 0x4000U,
+            .flowIdFwRangeCnt   = 0U,  /* Flow ID not used */
             .ignoreShortPkts    = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .ignoreLongPkts     = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .configDefaultFlow  = TRUE,
@@ -172,8 +172,10 @@ static const UdmaTestUtcChPrm gUdmaTestUtcChPrm[] =
             .dmaPriority    = UDMA_DEFAULT_UTC_CH_DMA_PRIORITY,
             .burstSize      = TISCI_MSG_VALUE_RM_UDMAP_CH_BURST_SIZE_128_BYTES,
             .supressTdCqPkt = TISCI_MSG_VALUE_RM_UDMAP_TX_CH_SUPPRESS_TD_DISABLED,
+#if (UDMA_NUM_UTC_INSTANCE > 0)
             .druOwner       = CSL_DRU_OWNER_UDMAC_TR,
             .druQueueId     = CSL_DRU_QUEUE_ID_3,
+#endif
         }
     },
     {
@@ -190,8 +192,10 @@ static const UdmaTestUtcChPrm gUdmaTestUtcChPrm[] =
             .dmaPriority    = TISCI_MSG_VALUE_RM_UDMAP_CH_SCHED_PRIOR_HIGH,
             .burstSize      = TISCI_MSG_VALUE_RM_UDMAP_CH_BURST_SIZE_128_BYTES,
             .supressTdCqPkt = TISCI_MSG_VALUE_RM_UDMAP_TX_CH_SUPPRESS_TD_DISABLED,
+#if (UDMA_NUM_UTC_INSTANCE > 0)
             .druOwner       = CSL_DRU_OWNER_UDMAC_TR,
             .druQueueId     = CSL_DRU_QUEUE_ID_3,
+#endif
         }
     },
 };
@@ -317,6 +321,7 @@ static const UdmaTestChPrm gUdmaTestChPrm[] =
         .utcPrmId       = UDMA_TEST_UTCCH_PRMID_INVALID,
         .pdmaPrmId      = UDMA_TEST_PDMACH_PRMID_INVALID,
     },
+#if defined (UDMA_UTC_ID_MSMC_DRU0)
     {
         .chPrmId        = UDMA_TEST_CH_PRMID_DRU_DEF,
         .chType         = UDMA_CH_TYPE_UTC,
@@ -343,6 +348,7 @@ static const UdmaTestChPrm gUdmaTestChPrm[] =
         .utcPrmId       = UDMA_TEST_UTCCH_PRMID_DEF,
         .pdmaPrmId      = UDMA_TEST_PDMACH_PRMID_INVALID,
     },
+#endif
     {
         .chPrmId        = UDMA_TEST_CH_PRMID_BLKCPY_HC_DEF,
         .chType         = UDMA_CH_TYPE_TR_BLK_COPY_HC,