Add support for gth2 board

Patch by Thomas Lange, Aug 11 2005
This commit is contained in:
Wolfgang Denk
2006-06-16 17:32:31 +02:00
parent c12cffc543
commit 0c32d96ddd
17 changed files with 1773 additions and 3 deletions

View File

@@ -119,6 +119,11 @@ static __inline__ int au_ffs(int x)
return __ilog2(x & -x) + 1;
}
#define gpio_set(Value) outl(Value, SYS_OUTPUTSET)
#define gpio_clear(Value) outl(Value, SYS_OUTPUTCLR)
#define gpio_read() inl(SYS_PINSTATERD)
#define gpio_tristate(Value) outl(Value, SYS_TRIOUTCLR)
#endif /* !ASSEMBLY */
#ifdef CONFIG_PM