From patchwork Tue Sep 12 19:01:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 112381 Delivered-To: patch@linaro.org Received: by 10.80.202.13 with SMTP id d13csp29513edi; Tue, 12 Sep 2017 12:11:55 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7b+Pp3qbwTe5XEavNdcOGiR77OWC6AQihs1Tlge30BnsFzghuRHaTdr8yayxCb1phsJ9/y X-Received: by 10.80.184.53 with SMTP id j50mr9818412ede.134.1505243515262; Tue, 12 Sep 2017 12:11:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505243515; cv=none; d=google.com; s=arc-20160816; b=fRo0fthEhrAfCy7CzTHwZYaRt4YkTdpeRme9atKG45JgF1h1qJ20+4eESJpxolnESc E+IPdK5VYT0YZvZLlVn/FDmj/AFgW9bozIHndErjXB+oIGWd8i+TqxPDFejgvLQV3qBi gU/3d/n4464uvZMdtD5OPyqU/KpLGG2YQwtUF5Q8MNiETN/LvC+FyRHyt4ebl+aJt2zm RamzGaxkx/s/wmGRGutfUv/HYWq0LgCvjtb9U8LWQfzeg283DiREk8kwRiuMtmiGBIEC YoCCpN0C87Dtgesq+D9i5Ze9hgCItxO9qOYcjBLO8rImtqYMnc3Ko9KdPbjfdekQr1NH uKnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:references :in-reply-to:message-id:date:to:from:arc-authentication-results; bh=X78elXyZMEitovnoAFKuhg+F4/gOgcMgYIHkyWW+ftw=; b=WsoQO61dmavuJKhdAfrHBsdIoBqv6fePszed0ENweFjOhCFYaKsVeg33HKMGLSCRzX x56CS+0lk9vCkBvoyUCVBLO3Oek2aEoXWzpn/Y9kxtGvUOroGe60dKAyxwKcN6OW1mLx H6sLGCg7ggAYgw4gogmPfoOPCVxnPESQ2rb+xgva66USHh0ogmN/An2V3W0ReHUKpc8a Oi+imPSZvdUpw6/LNma/wb4VdoMAmSB3ts3s18Lsn4XA2U3Zu0iKwae19MicO7xOFx8m sLQN87FdI8JXXIqdxv928zDASxfqRMmCBXs8F/1iYRc8Jxc3RMA18mDKK+IXPyJ6WCfR 589A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id u14si4675253edd.512.2017.09.12.12.11.54; Tue, 12 Sep 2017 12:11:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id D7460C221D8; Tue, 12 Sep 2017 19:09:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 34311C2212B; Tue, 12 Sep 2017 19:02:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 50C93C220FB; Tue, 12 Sep 2017 19:01:59 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id F3042C21FE6 for ; Tue, 12 Sep 2017 19:01:50 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id C3608209EB; Tue, 12 Sep 2017 21:01:50 +0200 (CEST) Received: from localhost (LFbn-TOU-1-209-191.w86-201.abo.wanadoo.fr [86.201.56.191]) by mail.free-electrons.com (Postfix) with ESMTPSA id 9429320867; Tue, 12 Sep 2017 21:01:50 +0200 (CEST) From: Maxime Ripard To: Tom Rini , Jagan Teki Date: Tue, 12 Sep 2017 21:01:37 +0200 Message-Id: <87f4f66f2cc60d14667fafe84b3c9f3ddd252779.1505242834.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: References: In-Reply-To: References: Cc: Thomas Petazzoni , marex@denx.de, u-boot@lists.denx.de, Maxime Ripard Subject: [U-Boot] [PATCH v2 09/14] sunxi: imply USB_GADGET X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" A good number of our boards have USB_GADGET enabled. Imply it so that all the boards can benefit from it, and remove some boilerplate from our defconfigs. Reviewed-by: Simon Glass Signed-off-by: Maxime Ripard Reviewed-by: Ɓukasz Majewski --- arch/arm/Kconfig | 1 + configs/A13-OLinuXino_defconfig | 1 - configs/A20-OLinuXino-Lime2-eMMC_defconfig | 1 - configs/A20-OLinuXino-Lime2_defconfig | 1 - configs/CHIP_defconfig | 1 - configs/CHIP_pro_defconfig | 1 - configs/Cubietruck_defconfig | 1 - configs/Nintendo_NES_Classic_Edition_defconfig | 1 - configs/Sinlinx_SinA33_defconfig | 1 - configs/parrot_r16_defconfig | 1 - 10 files changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 53eae8953e0b..1eb59c591a54 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -705,6 +705,7 @@ config ARCH_SUNXI imply SPL_POWER_SUPPORT imply SPL_SERIAL_SUPPORT imply USB_FUNCTION_FASTBOOT + imply USB_GADGET config TARGET_TS4600 bool "Support TS4600" diff --git a/configs/A13-OLinuXino_defconfig b/configs/A13-OLinuXino_defconfig index ae790164dff7..e55dbff44d36 100644 --- a/configs/A13-OLinuXino_defconfig +++ b/configs/A13-OLinuXino_defconfig @@ -31,5 +31,4 @@ CONFIG_AXP_ALDO3_VOLT=3300 CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y diff --git a/configs/A20-OLinuXino-Lime2-eMMC_defconfig b/configs/A20-OLinuXino-Lime2-eMMC_defconfig index b136af66b71f..9491708d80c6 100644 --- a/configs/A20-OLinuXino-Lime2-eMMC_defconfig +++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig @@ -33,5 +33,4 @@ CONFIG_SCSI=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig index ebb435f30956..2bb8ee8c9ebd 100644 --- a/configs/A20-OLinuXino-Lime2_defconfig +++ b/configs/A20-OLinuXino-Lime2_defconfig @@ -32,5 +32,4 @@ CONFIG_SCSI=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y diff --git a/configs/CHIP_defconfig b/configs/CHIP_defconfig index 7d50d0533dcd..b9f70d240c3c 100644 --- a/configs/CHIP_defconfig +++ b/configs/CHIP_defconfig @@ -22,6 +22,5 @@ CONFIG_AXP_ALDO4_VOLT=3300 CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_OF_LIBFDT_OVERLAY=y diff --git a/configs/CHIP_pro_defconfig b/configs/CHIP_pro_defconfig index 76daf477ec87..74f6eb10fc01 100644 --- a/configs/CHIP_pro_defconfig +++ b/configs/CHIP_pro_defconfig @@ -27,6 +27,5 @@ CONFIG_AXP_ALDO4_VOLT=3300 CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_OF_LIBFDT_OVERLAY=y diff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig index 1b2989d364f6..458e2a9d8b04 100644 --- a/configs/Cubietruck_defconfig +++ b/configs/Cubietruck_defconfig @@ -32,5 +32,4 @@ CONFIG_SCSI=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y diff --git a/configs/Nintendo_NES_Classic_Edition_defconfig b/configs/Nintendo_NES_Classic_Edition_defconfig index 5986764a14b9..e031dd8f5d5f 100644 --- a/configs/Nintendo_NES_Classic_Edition_defconfig +++ b/configs/Nintendo_NES_Classic_Edition_defconfig @@ -22,5 +22,4 @@ CONFIG_AXP_DLDO1_VOLT=3300 CONFIG_AXP_ELDO2_VOLT=1800 CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y diff --git a/configs/Sinlinx_SinA33_defconfig b/configs/Sinlinx_SinA33_defconfig index 9299aedd6019..143a9b4b6c10 100644 --- a/configs/Sinlinx_SinA33_defconfig +++ b/configs/Sinlinx_SinA33_defconfig @@ -27,5 +27,4 @@ CONFIG_DFU_RAM=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y diff --git a/configs/parrot_r16_defconfig b/configs/parrot_r16_defconfig index 57db9587fe77..b36b9efec650 100644 --- a/configs/parrot_r16_defconfig +++ b/configs/parrot_r16_defconfig @@ -23,5 +23,4 @@ CONFIG_FASTBOOT_FLASH_MMC_DEV=0 CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y