summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-zynq/sys_proto.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-26 18:33:58 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-28 02:17:21 +0900
commit630bf80ebb34991b3b54bd7e7ece8ffe11672832 (patch)
tree5b819d97834004023d254ef38af3df1a05b02bb2 /arch/arm/include/asm/arch-zynq/sys_proto.h
parent4b4af643faae284acf2766635d6820291ecabe6d (diff)
downloadu-boot-imx-630bf80ebb34991b3b54bd7e7ece8ffe11672832.zip
u-boot-imx-630bf80ebb34991b3b54bd7e7ece8ffe11672832.tar.gz
u-boot-imx-630bf80ebb34991b3b54bd7e7ece8ffe11672832.tar.bz2
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>
Diffstat (limited to 'arch/arm/include/asm/arch-zynq/sys_proto.h')
0 files changed, 0 insertions, 0 deletions