summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2009-07-16 09:58:31 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-07-23 00:20:33 +0200
commit57215cd2e59fd403248df8f2f195e382900d5fc2 (patch)
tree41ffd1ead7ca37e25909a7be67993bc05947c1cb
parentec16441085f471c03a8c0909579463e31e5b947a (diff)
downloadu-boot-imx-57215cd2e59fd403248df8f2f195e382900d5fc2.zip
u-boot-imx-57215cd2e59fd403248df8f2f195e382900d5fc2.tar.gz
u-boot-imx-57215cd2e59fd403248df8f2f195e382900d5fc2.tar.bz2
arm, kirkwood: added kw_gpio_set_valid() in gpio.h
Signed-off-by: Heiko Schocher <hs@denx.de>
-rw-r--r--include/asm-arm/arch-kirkwood/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-kirkwood/gpio.h b/include/asm-arm/arch-kirkwood/gpio.h
index 5c86919..a79102b 100644
--- a/include/asm-arm/arch-kirkwood/gpio.h
+++ b/include/asm-arm/arch-kirkwood/gpio.h
@@ -37,6 +37,8 @@
/*
* Kirkwood-specific GPIO API
*/
+
+void kw_gpio_set_valid(unsigned pin, int mode);
int kw_gpio_is_valid(unsigned pin, int mode);
int kw_gpio_direction_input(unsigned pin);
int kw_gpio_direction_output(unsigned pin, int value);