[U-Boot] question: multiple serial

Stefano Babic
2011-02-27T21:34:06Z

On 02/27/2011 07:27 PM, ran shalit wrote:

> Hello Stafno,
>
> Thank you for the reply.
> The strange thing is that although the OMAP L138 have the ability for using
> more then one UART, it seems that in the u-boot, it is not well supported:
> Only if I add in /common/serial.c the following line:
> line 45: || defined (CONFIG_MACH_DAVINCI_DA850EVM), and same include in
> /common/serial.h
> then compiler error is solved. it is as if this file support several cpu's
> but the OMAP is not one of them. Is It correct to add this flags in order to
> support multiple serials in OMAP L138 EVM ? I tried to ask in TI forum, but
> got no reply yet.

I see. Definitely, there is a check on processor tape before checking
the serial driver. As flag you should add CONFIG_SOC_DA8XX instead of
CONFIG_MACH_DAVINCI_DA850EVM, as the last one depends on board, and the
availability of the NS16550 depends on processor.

Best regards,
Stefano Babic

--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================