From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 19 Sep 2011 16:57:33 -0400 Subject: [U-Boot] serial ifdef mess In-Reply-To: <4E75ED53.9020006@gmail.com> References: <1316323020-4027-1-git-send-email-vapier@gentoo.org> <201109180422.09040.vapier@gentoo.org> <4E75ED53.9020006@gmail.com> Message-ID: <201109191657.34352.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sunday, September 18, 2011 09:08:35 Graeme Russ wrote: > I mean, it irks me to no end that /common/serial.c, /drivers/serial.c and > /include/serial.h are such an ugly mess of #ifdef's - I'm working on a new > SoC at the moment, and it just plain weird that I have to touch these :( well, there's two things there. the init mess which could get fixed in two diff ways: part of your larger init cleanup, or turn it into board callbacks like most of the other frameworks we have atm. the second thing is the CONFIG_SERIAL_MULTI hell. that mess i'd like to gut with a dull blade at some point. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110919/2844b184/attachment.pgp