[U-Boot] [PATCH v2 8/9] ns16550: enable quirks for ti814x

Peter Korsgaard jacmet at sunsite.dk
Sun Mar 3 23:34:27 CET 2013


>>>>> "Matt" == Matt Porter <mporter at ti.com> writes:

 Matt> TI814X requires the same quirks as AM33XX to be enabled.
 Matt> Signed-off-by: Matt Porter <mporter at ti.com>
 Matt> Reviewed-by: Tom Rini <trini at ti.com>

Acked-by: Peter Korsgaard <jacmet at sunsite.dk>

 Matt> ---
 Matt> v2: no changes
 Matt> ---
 Matt>  drivers/serial/ns16550.c |    5 +++--
 Matt>  1 file changed, 3 insertions(+), 2 deletions(-)

 Matt> diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c
 Matt> index 87a0917..02bc85b 100644
 Matt> --- a/drivers/serial/ns16550.c
 Matt> +++ b/drivers/serial/ns16550.c
 Matt> @@ -43,7 +43,7 @@ void NS16550_init(NS16550_t com_port, int baud_divisor)
 
 Matt>  	serial_out(CONFIG_SYS_NS16550_IER, &com_port->ier);
 Matt>  #if (defined(CONFIG_OMAP) && !defined(CONFIG_OMAP3_ZOOM2)) || \
 Matt> -					defined(CONFIG_AM33XX)
 Matt> +			defined(CONFIG_AM33XX) || defined(CONFIG_TI814X)
 Matt>  	serial_out(0x7, &com_port->mdr1);	/* mode select reset TL16C750*/
 Matt>  #endif
 Matt>  	serial_out(UART_LCR_BKSE | UART_LCRVAL, (ulong)&com_port->lcr);
 Matt> @@ -57,7 +57,8 @@ void NS16550_init(NS16550_t com_port, int baud_divisor)
 Matt>  	serial_out((baud_divisor >> 8) & 0xff, &com_port->dlm);
 Matt>  	serial_out(UART_LCRVAL, &com_port->lcr);
 Matt>  #if (defined(CONFIG_OMAP) && !defined(CONFIG_OMAP3_ZOOM2)) || \
 Matt> -	defined(CONFIG_AM33XX) || defined(CONFIG_SOC_DA8XX)
 Matt> +	defined(CONFIG_AM33XX) || defined(CONFIG_SOC_DA8XX) || \
 Matt> +	defined(CONFIG_TI814X)
 
 Matt>  #if defined(CONFIG_APTIX)
 Matt>  	/* /13 mode so Aptix 6MHz can hit 115200 */
 Matt> -- 
 Matt> 1.7.9.5



-- 
Bye, Peter Korsgaard


More information about the U-Boot mailing list