From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 27 Feb 2011 22:34:06 +0100 Subject: [U-Boot] question: multiple serial In-Reply-To: <31026374.post@talk.nabble.com> References: <4D675CD2.1020903@denx.de> <31026374.post@talk.nabble.com> Message-ID: <4D6AC34E.3020407@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 =====================================================================