Alexandru Gagniuc (mr.nuke.me@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4598
-gerrit
commit 14a5077baaae2f7734ce3e117457d0d07eb6a03f Author: Alexandru Gagniuc mr.nuke.me@gmail.com Date: Thu Jan 2 03:22:03 2014 -0500
cpu/allwinner/a10: Add definitions for in/output GPIO functions
Change-Id: I2b857d3b4c01e39c62e54f753e400e6049f1dbc9 Signed-off-by: Alexandru Gagniuc mr.nuke.me@gmail.com --- src/cpu/allwinner/a10/gpio.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/cpu/allwinner/a10/gpio.h b/src/cpu/allwinner/a10/gpio.h index 709f74b..e4b24ea 100644 --- a/src/cpu/allwinner/a10/gpio.h +++ b/src/cpu/allwinner/a10/gpio.h @@ -23,6 +23,10 @@ #define GPI 8 #define GPS 9
+/* GPIO pad functions valid for all pins */ +#define GPIO_PIN_FUNC_INPUT 0 +#define GPIO_PIN_FUNC_OUTPUT 1 + struct a10_gpio_port { u32 cfg[4]; u32 dat;