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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| am35x_musb.c | ||
| board.c | ||
| boot.c | ||
| clock.c | ||
| emac.c | ||
| emif4.c | ||
| hw_data.c | ||
| lowlevel_init.S | ||
| prcm-regs.c | ||
| sdrc.c | ||
| spl_id_nand.c | ||
| sys_info.c | ||