From: Andrei Simion Date: Wed, 9 Nov 2011 02:23:45 +0000 (-0800) Subject: Xilinx: ARM: Use UART1 for silicon. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ae1885c1ce693469b79882fdf1300b1848fa194;p=thirdparty%2Fu-boot.git Xilinx: ARM: Use UART1 for silicon. 'xpele.h' configuration header updated so that U-boot uses UART1 if CONFIG_ZYNQ is defined, UART0 otherwise (conditional compilation). --- diff --git a/include/configs/xpele.h b/include/configs/xpele.h index bdbfebf69d8..081de5d98d7 100644 --- a/include/configs/xpele.h +++ b/include/configs/xpele.h @@ -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" @@ -139,7 +141,11 @@ #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