From: Marek Vasut Date: Mon, 22 Apr 2019 00:23:30 +0200 Subject: [U-Boot] [PATCH] pinctrl: renesas: Fix linker error when PINCTRL_PFC=n In-Reply-To: <20190404124236.GA29742@vmlxhi-102.adit-jv.com> References: <1a61e450-6c59-56b2-2efa-ff2bce58d369@gmail.com> <47a77b99-711a-fde1-220f-057bdb08ca6a@gmail.com> <2e9e3d57-2690-4c64-f4cf-c0832f3e74b4@gmail.com> <20190402154020.GA21698@vmlxhi-102.adit-jv.com> <22ce7959-7615-012b-73dd-b3aee3d21220@gmail.com> <20190402170207.GA23017@vmlxhi-102.adit-jv.com> <5e965baf-c7f6-1ea1-2117-a18964a464e0@gmail.com> <20190404124236.GA29742@vmlxhi-102.adit-jv.com> Message-ID: <174cb9d5-5b40-5ad9-0436-2fc8fea853f5@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4/4/19 2:42 PM, Eugeniu Rosca wrote: > Hi Marek, Hi, > On Thu, Apr 04, 2019 at 03:36:45AM +0200, Marek Vasut wrote: > [..] >> I was thinking about this patch further and I think the best way forward >> would be to extend the pinmux/pinctrl API with a callback to set a pin >> as GPIO and then just call that API from the GPIO driver. That would be >> the generic solution and would make this whole >> sh_pfc_config_mux_for_gpio() go away altogether. > > I don't think anybody is going to contradict you, as long as your > solution resolves/prevents the build error reported in this thread. > > Since you have the best vision of it, I assume you take the ownership > of the change and CC the relevant people upon patch submission? Try this series: http://patchwork.ozlabs.org/project/uboot/list/?series=103861 -- Best regards, Marek Vasut