u-boot/arch/arm/include/asm/arch-uniphier
Masahiro Yamada 630bf80ebb ARM: UniPhier: add dummy gpio.h to enable CONFIG_OF_CONTROL
If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled.
It includes <asm/gpio.h> and then <asm/gpio.h> includes
<asm/arch/gpio.h>.  Consequently, all the SoCs that enable
CONFIG_OF_CONTROL must have <asm/arch/gpio.h> even if they do not
support GPIO.

In the first place, GPIO has nothing to do with OF_CONTROL.
It is wrong that lib/fdtdec.c includes GPIO functions; it should
be split into two files, FDT-common things and GPIO things.
It is, however, a pretty big work to fix that correctly.

This is a compromised commit to add a dummy <asm/arch/gpio.h>
to support OF_CONTROL for UniPhier platform.  This dummy header
will be removed after FDT-GPIO stuff is fixed correctly.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2014-11-28 02:17:21 +09:00
..
arm-mpcore.h ARM: UniPhier: add UniPhier SoC support code 2014-10-05 14:10:09 +09:00
bcu-regs.h ARM: UniPhier: add UniPhier SoC support code 2014-10-05 14:10:09 +09:00
board.h ARM: UniPhier: add UniPhier SoC support code 2014-10-05 14:10:09 +09:00
boot-device.h ARM: UniPhier: add UniPhier SoC support code 2014-10-05 14:10:09 +09:00
ehci-uniphier.h usb: UniPhier: add UniPhier on-chip EHCI host driver support 2014-11-12 00:21:28 +09:00
gpio.h ARM: UniPhier: add dummy gpio.h to enable CONFIG_OF_CONTROL 2014-11-28 02:17:21 +09:00
led.h ARM: UniPhier: add UniPhier SoC support code 2014-10-05 14:10:09 +09:00
mio-regs.h ARM: UniPhier: add MIO register file 2014-11-12 00:21:28 +09:00
platdevice.h usb: UniPhier: add UniPhier on-chip EHCI host driver support 2014-11-12 00:21:28 +09:00
sbc-regs.h ARM: UniPhier: add UniPhier SoC support code 2014-10-05 14:10:09 +09:00
sc-regs.h ARM: UniPhier: add UniPhier SoC support code 2014-10-05 14:10:09 +09:00
sg-regs.h ARM: UniPhier: add set_pinsel macro for use in assembly code 2014-11-12 00:22:23 +09:00
ssc-regs.h ARM: UniPhier: add UniPhier SoC support code 2014-10-05 14:10:09 +09:00
umc-regs.h ARM: UniPhier: add UniPhier SoC support code 2014-10-05 14:10:09 +09:00