[U-Boot-Users] [PATCH 09/13] microblaze: ml401 - add ifdef for GPIO
monstr at seznam.cz
monstr at seznam.cz
Fri Apr 4 12:52:56 CEST 2008
From: Michal Simek <monstr at monstr.eu>
Signed-off-by: Michal Simek <monstr at monstr.eu>
---
include/configs/ml401.h | 2 ++
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
--
1.5.4.GIT
More information about the U-Boot
mailing list