From: Michal Simek Date: Fri, 28 Mar 2008 10:22:48 +0000 (+0100) Subject: microblaze: ml401 - add ifdef for GPIO X-Git-Tag: v1.3.3-rc1~107^2~4^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4c6a6f02e239236261333759997eeaf86b30b54c;p=u-boot microblaze: ml401 - add ifdef for GPIO Signed-off-by: Michal Simek --- diff --git a/include/configs/ml401.h b/include/configs/ml401.h index 1a2cb0aeed..b167cb27fb 100644 --- a/include/configs/ml401.h +++ b/include/configs/ml401.h @@ -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