Hi Wenbin,

On Tue, Jan 19, 2016 at 2:48 PM, Wenbin Song <wenbin.s...@nxp.com> wrote:
> From: songwenbin <wenbin.s...@freescale.com>
>
> If configured CONFIG_LPUART, should undefine the NS16550
>
> Signed-off-by: Wenbin Song <wenbin.s...@nxp.com>
> ---
>  include/configs/ls1043aqds.h | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
> index 398f1c3..88f4bc0 100644
> --- a/include/configs/ls1043aqds.h
> +++ b/include/configs/ls1043aqds.h
> @@ -88,6 +88,17 @@ unsigned long get_board_ddr_clk(void);
>  #define CONFIG_SYS_FSL_PBL_RCW 
> board/freescale/ls1043aqds/ls1043aqds_rcw_sd_ifc.cfg
>  #endif
>
> +/*
> + * LPUART
> + */
> +#ifdef CONFIG_LPUART
> +#define CONFIG_FSL_LPUART
> +#define CONFIG_LPUART_32B_REG
> +#undef CONFIG_CONS_INDEX
> +#undef CONFIG_SYS_NS16550_SERIAL
> +#undef CONFIG_SYS_NS16550_CLK
> +#endif
> +

Please update board defconfig instead #define / #undef in the
configuration header. The NS16550 and LPUART are now both Kconfig
options.

Regards,
Bin
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to