]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: Use UART1 for silicon.
authorAndrei Simion <andreis@xilinx.com>
Wed, 9 Nov 2011 02:23:45 +0000 (18:23 -0800)
committerJohn Linn <john.linn@xilinx.com>
Fri, 11 Nov 2011 18:18:04 +0000 (10:18 -0800)
'xpele.h' configuration header updated so that U-boot uses UART1 if
CONFIG_ZYNQ is defined, UART0 otherwise (conditional compilation).

include/configs/xpele.h

index bdbfebf69d88be52ed459a90ab5c70a7a604346b..081de5d98d76b41961d8d244f4ca3dd71b588edb 100644 (file)
@@ -10,6 +10,8 @@
 #define CONFIG_XDF             1 /* Board */
 #define CONFIG_DFE             1 /* Board sub-type ("flavor"?) */
 #define CONFIG_PELE            1 /* SoC? */
+/* Select target configuration: comment out for ZC770 instead of EP107. */
+#define CONFIG_EP107           1
 
 #include "../board/xilinx/dfe/xparameters.h"
 
 #define CONFIG_XDF_UART        1
 #define CONFIG_XDF_ETH 1
 #define CONFIG_XDF_RTC 1
-#define CONFIG_UART0   1
+#ifdef CONFIG_EP107
+# define CONFIG_UART0  1
+#else
+# define CONFIG_UART1  1
+#endif
 #define CONFIG_TTC0    1
 #define CONFIG_GEM0    1