From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Thu, 8 Jan 2015 14:39:34 -0800 Subject: [U-Boot] [PATCH v2 10/11] board/T1040qds: Add VSC9953 support for T1040qds board In-Reply-To: <1419008529-5808-11-git-send-email-codrin.ciubotariu@freescale.com> References: <1419008529-5808-1-git-send-email-codrin.ciubotariu@freescale.com> <1419008529-5808-11-git-send-email-codrin.ciubotariu@freescale.com> Message-ID: <54AF0726.5000505@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/19/2014 09:02 AM, Codrin Ciubotariu wrote: > This patch configures and initializes the L2 switch on T1040QDS board. > The L2 switch ports must be initialized according to the SerDes > protocols. > > Signed-off-by: Codrin Ciubotariu > Change-Id: I329f9cc1b1be745da23151e78831d8a3219b7f97 > --- > board/freescale/t1040qds/eth.c | 93 ++++++++++++++++++++++++++++++++++++++++++ > include/configs/T1040QDS.h | 4 ++ > 2 files changed, 97 insertions(+) > > diff --git a/board/freescale/t1040qds/eth.c b/board/freescale/t1040qds/eth.c > index 2f8e753..ba6f518 100644 > --- a/board/freescale/t1040qds/eth.c > +++ b/board/freescale/t1040qds/eth.c > @@ -18,6 +18,9 @@ > #include > #include > #include > +#ifdef CONFIG_VSC9953 > +#include > +#endif Don't put ifdef for header file. York