From patchwork Mon May 10 14:36:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Raghavendra, Vignesh" X-Patchwork-Id: 1476481 X-Patchwork-Delegate: lokeshvutla@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.a=rsa-sha256 header.s=ti-com-17Q1 header.b=qXYW0+fP; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Ff3YN31Bwz9rx6 for ; Tue, 11 May 2021 00:37:28 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BAB0382EEC; Mon, 10 May 2021 16:36:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="qXYW0+fP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DFC1582EDA; Mon, 10 May 2021 16:36:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E5BB882ED0 for ; Mon, 10 May 2021 16:36:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=vigneshr@ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14AEakKm055839; Mon, 10 May 2021 09:36:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1620657406; bh=LR1psxBeawVUjwF7n3Ciwe1GNGZVFD4J7to3KQ1PjJE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qXYW0+fPuFH365FyVXAXAoFSYy3ioLaDqkA3k7MOrvkJBSCmJTnJ8/HJj0Zj2ay9l 46GAvYG4hBELm9SpnWO0h/yLIHbPBoV1dYD4RguVopT3oKw8OHgs7NgsFc7YD6HIfd SqI3sikeTtBI6dbB180hBA3pZEW3S4I49nzhb1tM= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14AEakqk049616 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 May 2021 09:36:46 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 10 May 2021 09:36:46 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 10 May 2021 09:36:46 -0500 Received: from ula0132425.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14AEaUb4129624; Mon, 10 May 2021 09:36:43 -0500 From: Vignesh Raghavendra To: Lokesh Vutla , Joe Hershberger , Ramon Fried CC: Dave Gerlach , Nishanth Menon , Vignesh Raghavendra , Grygorii Strashko , Subject: [PATCH 04/12] dma: ti: k3-psil-am654: Drop unused PSIL EP static data Date: Mon, 10 May 2021 20:06:05 +0530 Message-ID: <20210510143613.16512-5-vigneshr@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210510143613.16512-1-vigneshr@ti.com> References: <20210510143613.16512-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean 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 --- 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 = {