dma: ti: k3-psil-am654: Drop unused PSIL EP static data
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 10 May 2021 14:36:05 +0000 (20:06 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 11:06:38 +0000 (16:36 +0530)
ICSSG Ethernet driver uses two src threads per port (one per slice).
Similarly CPSW uses one src thread.

Drop PSIL EP static data for other src threads in order to reduce
R5 SPL footprint. This makes AM65x board bootable again.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/dma/ti/k3-psil-am654.c

index f95d99c..d16c075 100644 (file)
@@ -44,40 +44,22 @@ static struct psil_ep am654_src_ep_map[] = {
 static struct psil_ep am654_dst_ep_map[] = {
        /* PRU_ICSSG0 */
        PSIL_ETHERNET(0xc100),
-       PSIL_ETHERNET(0xc101),
-       PSIL_ETHERNET(0xc102),
-       PSIL_ETHERNET(0xc103),
+       /* PSIL: 0xc101 - 0xc103 unused */
        PSIL_ETHERNET(0xc104),
-       PSIL_ETHERNET(0xc105),
-       PSIL_ETHERNET(0xc106),
-       PSIL_ETHERNET(0xc107),
+       /* PSIL: 0xc105 - 0xc107 unused */
        /* PRU_ICSSG1 */
        PSIL_ETHERNET(0xc200),
-       PSIL_ETHERNET(0xc201),
-       PSIL_ETHERNET(0xc202),
-       PSIL_ETHERNET(0xc203),
+       /* PSIL: 0xc201 - 0xc203 unused */
        PSIL_ETHERNET(0xc204),
-       PSIL_ETHERNET(0xc205),
-       PSIL_ETHERNET(0xc206),
-       PSIL_ETHERNET(0xc207),
+       /* PSIL: 0xc205 - 0xc207 unused */
        /* PRU_ICSSG2 */
        PSIL_ETHERNET(0xc300),
-       PSIL_ETHERNET(0xc301),
-       PSIL_ETHERNET(0xc302),
-       PSIL_ETHERNET(0xc303),
+       /* PSIL: 0xc301 - 0xc303 unused */
        PSIL_ETHERNET(0xc304),
-       PSIL_ETHERNET(0xc305),
-       PSIL_ETHERNET(0xc306),
-       PSIL_ETHERNET(0xc307),
+       /* PSIL: 0xc305 - 0xc307 unused */
        /* CPSW0 */
        PSIL_ETHERNET(0xf000),
-       PSIL_ETHERNET(0xf001),
-       PSIL_ETHERNET(0xf002),
-       PSIL_ETHERNET(0xf003),
-       PSIL_ETHERNET(0xf004),
-       PSIL_ETHERNET(0xf005),
-       PSIL_ETHERNET(0xf006),
-       PSIL_ETHERNET(0xf007),
+       /* PSIL: 0xf001 - 0xf007 unused */
 };
 
 struct psil_ep_map am654_ep_map = {