summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-04-26 11:19:37 +0200
committerHans de Goede <hdegoede@redhat.com>2015-05-04 16:51:54 +0200
commit421b32b8808a4d3dc59e84c69fc23b5d62302272 (patch)
treed3fdee1f1487a71fa4339d0c8e8ac397272248ab /arch/arm/include
parentd17e1577a203e486d8a15bfa015a6410d99079de (diff)
downloadu-boot-imx-421b32b8808a4d3dc59e84c69fc23b5d62302272.zip
u-boot-imx-421b32b8808a4d3dc59e84c69fc23b5d62302272.tar.gz
u-boot-imx-421b32b8808a4d3dc59e84c69fc23b5d62302272.tar.bz2
sunxi: axp: Remove non driver-model support from the axp gpio code
Now that all sunxi boards are using driver-model for gpio (*), we can remove the non driver-model support from the axp gpio code, and the glue to call into the axp gpio code from the sunxi_gpio non driver-model code. *) For the regular u-boot build, SPL still uses non driver-model gpio for now, but the SPL never uses axp gpios support and we were already not building axp-gpio support for the SPL. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-sunxi/gpio.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h
index d5caeed..59d8210 100644
--- a/arch/arm/include/asm/arch-sunxi/gpio.h
+++ b/arch/arm/include/asm/arch-sunxi/gpio.h
@@ -224,11 +224,4 @@ int axp_gpio_init(void);
static inline int axp_gpio_init(void) { return 0; }
#endif
-struct udevice;
-
-int axp_gpio_direction_input(struct udevice *dev, unsigned offset);
-int axp_gpio_direction_output(struct udevice *dev, unsigned offset, int val);
-int axp_gpio_get_value(struct udevice *dev, unsigned offset);
-int axp_gpio_set_value(struct udevice *dev, unsigned offset, int val);
-
#endif /* _SUNXI_GPIO_H */