[U-Boot] [U-Boot, V2] ARM: mach-omap2: omap3: Fix GPIO clocking in SPL
Tom Rini
trini at konsulko.com
Thu Dec 27 15:47:28 UTC 2018
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 <liam.o.shaughnessy at gumstix.com>
> Signed-off-by: Adam Ford <aford173 at gmail.com>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20181227/606a9ffa/attachment.sig>
More information about the U-Boot
mailing list