]> git.baikalelectronics.ru Git - uboot.git/commit
gpio: Introduce CONFIG_GPIO_EXTRA_HEADER to cleanup #ifdefs
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Fri, 4 Jun 2021 09:43:55 +0000 (18:43 +0900)
committerTom Rini <trini@konsulko.com>
Tue, 6 Jul 2021 18:07:36 +0000 (14:07 -0400)
commitb4aeca4a81f103a1ceec167e77188bcdb55f883e
tree60d6348e9d1c7dfea76052afe183bf9ab040799a
parente42a8fa27c210f23fb58bce79dae51657c2bd021
gpio: Introduce CONFIG_GPIO_EXTRA_HEADER to cleanup #ifdefs

Since some SoCs and boards do not hae extra asm/arch/gpio.h,
introduce CONFIG_GPIO_EXTRA_HEADER instead of adding
!define(CONFIG_ARCH_XXXX) in asm/gpio.h.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
arch/arm/Kconfig
arch/arm/include/asm/gpio.h