1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

Add missing irq defintions for gpio, build gpio module and select necessary

symbols for gpio lib.
This commit is contained in:
Lars-Peter Clausen
2009-08-24 12:06:08 +02:00
committed by Xiangfu Liu
parent b85721d95f
commit 8e033878c9
3 changed files with 10 additions and 4 deletions

View File

@@ -96,6 +96,9 @@
#define IRQ_DMA_0 32 /* 32 to 37 for DMAC channel 0 to 5 */
#define IRQ_GPIO_0 48 /* 48 to 175 for GPIO pin 0 to 127 */
#define JZ_IRQ_INTC_GPIO(x) (28 - x)
#define JZ_IRQ_GPIO(x) (48 + x)
#define NUM_DMA 6
#define NUM_GPIO 128
/*************************************************************************