[PATCH 04/12] dma: ti: k3-psil-am654: Drop unused PSIL EP static data

Vignesh Raghavendra vigneshr at ti.com
Mon May 10 16:36:05 CEST 2021


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 at ti.com>
---
 drivers/dma/ti/k3-psil-am654.c | 32 +++++++-------------------------
 1 file changed, 7 insertions(+), 25 deletions(-)

diff --git a/drivers/dma/ti/k3-psil-am654.c b/drivers/dma/ti/k3-psil-am654.c
index f95d99cfd3..d16c07566b 100644
--- a/drivers/dma/ti/k3-psil-am654.c
+++ b/drivers/dma/ti/k3-psil-am654.c
@@ -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 = {
-- 
2.31.1



More information about the U-Boot mailing list