]> git.sur5r.net Git - u-boot/commitdiff
microblaze: ml401 - add ifdef for GPIO
authorMichal Simek <monstr@monstr.eu>
Fri, 28 Mar 2008 10:22:48 +0000 (11:22 +0100)
committerMichal Simek <monstr@monstr.eu>
Tue, 8 Apr 2008 13:38:14 +0000 (15:38 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
include/configs/ml401.h

index 1a2cb0aeed0bca705608e70db54ef5d6e98963a6..b167cb27fb6ac55ae76ed52f81736b3cf5863a90 100644 (file)
 #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