
27 Dec
2018
27 Dec
'18
4:47 p.m.
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@gumstix.com Signed-off-by: Adam Ford aford173@gmail.com
Applied to u-boot/master, thanks!
--
Tom