From patchwork Tue May 26 10:58:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 6480751 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6AFBAC0020 for ; Tue, 26 May 2015 13:30:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 12DF5204AF for ; Tue, 26 May 2015 13:30:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 21D7B20620 for ; Tue, 26 May 2015 13:30:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752916AbbEZNa1 (ORCPT ); Tue, 26 May 2015 09:30:27 -0400 Received: from winston.telenet-ops.be ([195.130.137.75]:41593 "EHLO winston.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751679AbbEZNaW (ORCPT ); Tue, 26 May 2015 09:30:22 -0400 X-Greylist: delayed 1079 seconds by postgrey-1.27 at vger.kernel.org; Tue, 26 May 2015 09:30:22 EDT Received: from michel.telenet-ops.be (michel.telenet-ops.be [195.130.137.88]) by winston.telenet-ops.be (Postfix) with ESMTP id E9F801BC02D for ; Tue, 26 May 2015 12:59:18 +0200 (CEST) Received: from ayla.of.borg ([84.193.93.87]) by michel.telenet-ops.be with bizsmtp id Yayc1q00H1t5w8s06aycFv; Tue, 26 May 2015 12:58:38 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1YxCZA-0008Lv-4d; Tue, 26 May 2015 12:58:36 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1YxCZF-0002Kz-Vi; Tue, 26 May 2015 12:58:41 +0200 From: Geert Uytterhoeven To: arm@kernel.org Cc: Laurent Pinchart , linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/2] ARM: multi_v7_defconfig: Make USB support modular Date: Tue, 26 May 2015 12:58:38 +0200 Message-Id: <1432637918-8946-2-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432637918-8946-1-git-send-email-geert+renesas@glider.be> References: <1432637918-8946-1-git-send-email-geert+renesas@glider.be> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY, UPPERCASE_50_75 autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make USB support modular to reduce kernel size: text data bss dec hex filename 12979266 1433908 335640 14748814 e10c8e vmlinux.before 12237024 1386396 333592 13957012 d4f794 vmlinux.after USB_GSPCA, USB_EHCI_HCD_PLATFORM, USB_OHCI_HCD_PLATFORM, and PHY_SAMSUNG_USB2 are now enabled automatically by Kconfig logic, so they are dropped. Tested on r8a7791/koelsch, which can't boot vmlinux.before anymore. Signed-off-by: Geert Uytterhoeven --- Against next-20150526 --- arch/arm/configs/multi_v7_defconfig | 40 +++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index e3fc9799972367c3..5df66b3671946378 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -215,10 +215,10 @@ CONFIG_SMSC_PHY=y CONFIG_BROADCOM_PHY=y CONFIG_ICPLUS_PHY=y CONFIG_MICREL_PHY=y -CONFIG_USB_PEGASUS=y -CONFIG_USB_USBNET=y -CONFIG_USB_NET_SMSC75XX=y -CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_PEGASUS=m +CONFIG_USB_USBNET=m +CONFIG_USB_NET_SMSC75XX=m +CONFIG_USB_NET_SMSC95XX=m CONFIG_BRCMFMAC=m CONFIG_RT2X00=m CONFIG_RT2800USB=m @@ -417,8 +417,7 @@ CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_CONTROLLER=y CONFIG_VIDEO_V4L2_SUBDEV_API=y CONFIG_MEDIA_USB_SUPPORT=y -CONFIG_USB_VIDEO_CLASS=y -CONFIG_USB_GSPCA=y +CONFIG_USB_VIDEO_CLASS=m CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_SOC_CAMERA=m CONFIG_SOC_CAMERA_PLATFORM=m @@ -452,7 +451,7 @@ CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_DYNAMIC_MINORS=y -CONFIG_SND_USB_AUDIO=y +CONFIG_SND_USB_AUDIO=m CONFIG_SND_SOC=y CONFIG_SND_ATMEL_SOC=m CONFIG_SND_ATMEL_SOC_WM8904=m @@ -467,24 +466,22 @@ CONFIG_SND_SOC_TEGRA_ALC5632=y CONFIG_SND_SOC_TEGRA_MAX98090=y CONFIG_SND_SOC_AK4642=m CONFIG_SND_SOC_WM8978=m -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_MVEBU=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EXYNOS=y -CONFIG_USB_EHCI_TEGRA=y -CONFIG_USB_EHCI_HCD_STI=y -CONFIG_USB_EHCI_HCD_PLATFORM=y -CONFIG_USB_ISP1760=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_STI=y -CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_USB=m +CONFIG_USB_XHCI_HCD=m +CONFIG_USB_XHCI_MVEBU=m +CONFIG_USB_EHCI_HCD=m +CONFIG_USB_EHCI_HCD_STI=m +CONFIG_USB_EHCI_TEGRA=m +CONFIG_USB_EHCI_EXYNOS=m +CONFIG_USB_ISP1760=m +CONFIG_USB_OHCI_HCD=m +CONFIG_USB_OHCI_HCD_STI=m CONFIG_USB_OHCI_EXYNOS=m CONFIG_USB_R8A66597_HCD=m CONFIG_USB_RENESAS_USBHS=m -CONFIG_USB_STORAGE=y +CONFIG_USB_STORAGE=m CONFIG_USB_DWC3=y -CONFIG_USB_CHIPIDEA=y +CONFIG_USB_CHIPIDEA=m CONFIG_USB_CHIPIDEA_HOST=y CONFIG_AB8500_USB=y CONFIG_KEYSTONE_USB_PHY=y @@ -632,7 +629,6 @@ CONFIG_PHY_STIH41X_USB=y CONFIG_PHY_STIH407_USB=y CONFIG_PHY_SUN4I_USB=y CONFIG_PHY_SUN9I_USB=y -CONFIG_PHY_SAMSUNG_USB2=m CONFIG_EXT4_FS=y CONFIG_AUTOFS4_FS=y CONFIG_MSDOS_FS=y