summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2008-03-28 11:22:48 +0100
committerMichal Simek <monstr@monstr.eu>2008-04-08 15:38:14 +0200
commit4c6a6f02e239236261333759997eeaf86b30b54c (patch)
tree2e416eea3240bdde3413e42f2cc95eb60250a0f8 /include
parentaf7ae1a411c67ee9d17a66d17ce50b374f3dd4e7 (diff)
downloadu-boot-imx-4c6a6f02e239236261333759997eeaf86b30b54c.zip
u-boot-imx-4c6a6f02e239236261333759997eeaf86b30b54c.tar.gz
u-boot-imx-4c6a6f02e239236261333759997eeaf86b30b54c.tar.bz2
microblaze: ml401 - add ifdef for GPIO
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ml401.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ml401.h b/include/configs/ml401.h
index 1a2cb0a..b167cb2 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