diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/allwinner/a10/gpio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/allwinner/a10/gpio.h b/src/cpu/allwinner/a10/gpio.h index 709f74b641..e4b24ea3fc 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; |