microblaze: ml401 - add ifdef for GPIO

Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
Michal Simek 2008-03-28 11:22:48 +01:00
parent af7ae1a411
commit 4c6a6f02e2
1 changed files with 2 additions and 0 deletions

View File

@ -64,8 +64,10 @@
#undef ET_DEBUG
/* gpio */
#ifdef XILINX_GPIO_BASEADDR
#define CFG_GPIO_0 1
#define CFG_GPIO_0_ADDR XILINX_GPIO_BASEADDR
#endif
/* interrupt controller */
#define CFG_INTC_0 1