From: Tom Rini Date: Thu, 27 Dec 2018 10:47:28 -0500 Subject: [U-Boot] [U-Boot, V2] ARM: mach-omap2: omap3: Fix GPIO clocking in SPL In-Reply-To: <20181214222830.11396-1-aford173@gmail.com> References: <20181214222830.11396-1-aford173@gmail.com> Message-ID: <20181227154728.GH16433@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Dec 14, 2018 at 04:28:30PM -0600, Adam Ford wrote: > OMAP3_GPIO_x is needed to enable each GPIO bank on the OMAP3 > boards. At one point, the #ifdef's were replaced with > if CONFIG_IS_ENABLED but this won't work for people who need > OMAP3_GPIO_x in SPL since the SPL prefix for this option isn't > used in Kconfig. This patch moves the check to #if defined and > also makes Kconfig select the banks if CMD_GPIO is used which > makes the checks in the code less cumbersome. > > Fixes: bd8a9c14c91c ("arm: mach-omap2/omap3/clock.c: Enable > all GPIO with CMD_GPIO") > > Reported-by: Liam O'Shaughnessy > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: