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 <codrin.ciubota...@freescale.com> > 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 <fsl_mdio.h> > #include <malloc.h> > #include <asm/fsl_dtsec.h> > +#ifdef CONFIG_VSC9953 > +#include <vsc9953.h> > +#endif
Don't put ifdef for header file. York _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot