[U-Boot] [PATCH v2 10/11] board/T1040qds: Add VSC9953 support for T1040qds board
York Sun
yorksun at freescale.com
Thu Jan 8 23:39:34 CET 2015
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.ciubotariu at 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
More information about the U-Boot
mailing list