From patchwork Tue Jan 9 07:18:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabor Juhos X-Patchwork-Id: 857278 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EcBeU6Co"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zG3Rs57q7z9sBZ for ; Tue, 9 Jan 2018 18:19:37 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iXNvYw8+tK5KCgAgMBrHmVu7mxP97YdHC+eOREBDPtQ=; b=EcBeU6CoFWkx43 qxRfXKoe9/q1WAo6JyxpkEnkFeRg23wtufpMQiKgBtOlZPCBcjx6jt5Dt1cptIraLFCxC6FFnMlRD quTr7p0TGsXD9lTzDIVe4aobA2WyfloGcINJ9288H38JeQAqmXMVpHlAsTz8y3k8M6KxYVBRHzfYb 2OtkPaJUJ3Fr1WAngrCsh4bfrpTrmlT2vIkY/cz/MuNkTuEDAae3HuKMHpYgbJyNDSGpZuIPtmspn l58wXYvwFDR5yiwC8mir2u3cZJmLznm2ui1PpCCGtVzjH3hnl8dsnOY1PKqw3Yzts6zx5Ss5CRuhA WOl2uTwE7CCBDHOVARtg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eYoC0-0004yj-PN; Tue, 09 Jan 2018 07:19:28 +0000 Received: from arrakis.dune.hu ([78.24.191.176]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eYoBe-0004mW-GC for lede-dev@lists.infradead.org; Tue, 09 Jan 2018 07:19:09 +0000 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 6F979B80192; Tue, 9 Jan 2018 08:18:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost.localdomain (91.83.26.34.pool.invitel.hu [91.83.26.34]) by arrakis.dune.hu (Postfix) with ESMTPSA; Tue, 9 Jan 2018 08:18:36 +0100 (CET) From: Gabor Juhos To: lede-dev@lists.infradead.org Date: Tue, 9 Jan 2018 08:18:14 +0100 Message-Id: <20180109071816.27940-2-juhosg@freemail.hu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180109071816.27940-1-juhosg@freemail.hu> References: <20180109071816.27940-1-juhosg@freemail.hu> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180108_231906_781410_C07965A0 X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [78.24.191.176 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (juhosg[at]freemail.hu) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH 1/3] ar71xx/mikrotik: disable unused ethernet switch and phy drivers X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gabor Juhos MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Disable the drivers for the following ethernet switches: Realtek RTL8306 Realtek RTL8366/8367 Marvell 88E6060 (DSA) Marvell 88E6063 (DSA) Also disable the phy driver for Marvell PHYs. None of the supported RouterBOARDs are using any device which needs these drivers. Disable the DSA framework too, because it is not required by the remaining switch drivers. This reduces the compressed kernel size by ~20KB. Signed-off-by: Gabor Juhos --- target/linux/ar71xx/mikrotik/config-default | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index 7a2e9186af..815ac60e68 100644 --- a/target/linux/ar71xx/mikrotik/config-default +++ b/target/linux/ar71xx/mikrotik/config-default @@ -220,6 +220,7 @@ CONFIG_GPIO_LATCH=y # CONFIG_INTEL_XWAY_PHY is not set CONFIG_LEDS_RB750=y CONFIG_LZO_DECOMPRESS=y +# CONFIG_MARVELL_PHY is not set # CONFIG_MTD_CFI is not set CONFIG_MTD_CFI_I2=y # CONFIG_MTD_CYBERTAN_PARTS is not set @@ -243,7 +244,10 @@ CONFIG_MTD_UBI_BLOCK=y # CONFIG_MTD_UBI_FASTMAP is not set # CONFIG_MTD_UBI_GLUEBI is not set CONFIG_MTD_UBI_WL_THRESHOLD=4096 +# CONFIG_NET_DSA is not set CONFIG_RLE_DECOMPRESS=y +# CONFIG_RTL8306_PHY is not set +# CONFIG_RTL8366_SMI is not set # CONFIG_SOC_AR913X is not set # CONFIG_SOC_AR933X is not set # CONFIG_SOC_QCA956X is not set