cpu/allwinner/a10: Add definitions for in/output GPIO functions
Change-Id: I2b857d3b4c01e39c62e54f753e400e6049f1dbc9 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/4598 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
parent
a94bed0116
commit
6ed574a661
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue