From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 980A9C433EF for ; Mon, 27 Jun 2022 00:47:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4D5E583E65; Mon, 27 Jun 2022 02:47:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 5CEB583C35; Mon, 27 Jun 2022 02:47:03 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id A02D6837BB for ; Mon, 27 Jun 2022 02:47:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 26CB723A; Sun, 26 Jun 2022 17:47:00 -0700 (PDT) Received: from slackpad.lan (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 051D43F5A1; Sun, 26 Jun 2022 17:46:57 -0700 (PDT) Date: Mon, 27 Jun 2022 01:11:26 +0100 From: Andre Przywara To: Samuel Holland Cc: u-boot@lists.denx.de, Jagan Teki , Eddie James , Heiko Schocher , Michal Simek , Oleksandr Suvorov , Philippe Reynes , Sebastian Reichel , Simon Glass , T Karthik Reddy Subject: Re: [PATCH] gpio: sunxi: Fix build with CONFIG_SPL_SERIAL=n Message-ID: <20220627011126.053da9e7@slackpad.lan> In-Reply-To: <20220511000334.37989-1-samuel@sholland.org> References: <20220511000334.37989-1-samuel@sholland.org> Organization: Arm Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean On Tue, 10 May 2022 19:03:34 -0500 Samuel Holland wrote: > This driver uses simple_strtol(), so it needs SPL_STRTO. Before commit > 88ca8e26958b6 ("disk: Add an option for partitions in SPL"), SPL_STRTO > was always selected indirectly. Now it is not, so select it here. > > Signed-off-by: Samuel Holland Applied to sunxi/master, for v2022.07. Thanks, Andre > --- > > drivers/gpio/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 89068c7800..b955543e97 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -347,6 +347,7 @@ config SANDBOX_GPIO_COUNT > config SUNXI_GPIO > bool "Allwinner GPIO driver" > depends on ARCH_SUNXI > + select SPL_STRTO if SPL > help > Support the GPIO device in Allwinner SoCs. >