From 4c6a6f02e239236261333759997eeaf86b30b54c Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 28 Mar 2008 11:22:48 +0100 Subject: [PATCH] microblaze: ml401 - add ifdef for GPIO Signed-off-by: Michal Simek --- include/configs/ml401.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2