]> git.dujemihanovic.xyz Git - u-boot.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)
commit7a672057dcd36792f01529922fc85892a03be22d
tree60d6348e9d1c7dfea76052afe183bf9ab040799a
parent2f7dddc2a5c1c091b24588ef9ba1917ebd268595
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