From: Mike Frysinger Date: Mon, 10 Oct 2011 11:18:04 -0400 Subject: [U-Boot] [PATCH] microblaze: Enable SERIAL_MULTI In-Reply-To: <20111010125728.ED6B71408753@gemini.denx.de> References: <1318231036-11639-1-git-send-email-monstr@monstr.eu> <4E92CE64.5000609@monstr.eu> <20111010125728.ED6B71408753@gemini.denx.de> Message-ID: <201110101118.05350.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 Monday 10 October 2011 08:57:28 Wolfgang Denk wrote: > Michal Simek wrote: > > >> defined(CONFIG_MB86R0x) || defined(CONFIG_MPC5xxx) || \ > > >> defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \ > > >> defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520) || \ > > >> - defined(CONFIG_TEGRA2) > > >> + defined(CONFIG_TEGRA2) || defined(CONFIG_MICROBLAZE) > > > > > > Am I the only one that thinks this is all really ugly? > > > > I hope you mean serial.h not mb code. > > > > I agree with you but not sure if we can remove all ifdefs there. > > The long list of device specific ifdef's should be converted into a > single ifdef testing for a specific feature instead. it's driver specific code in this file, so it doesn't make much sense to have the board config define something just to get these prototypes i do agree that this multi serial code is all very ugly ... -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/20111010/45ae8963/attachment.pgp