From: Mike Frysinger Date: Wed, 8 Aug 2012 22:08:58 -0400 Subject: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function In-Reply-To: <201208081801.08035.marex@denx.de> References: <1344423139-18610-1-git-send-email-marex@denx.de> <201208081121.59555.vapier@gentoo.org> <201208081801.08035.marex@denx.de> Message-ID: <201208082208.59811.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 Wednesday 08 August 2012 12:01:07 Marek Vasut wrote: > Dear Mike Frysinger, > > On Wednesday 08 August 2012 06:52:17 Marek Vasut wrote: > > > This function converts static number to string in preprocessor. > > > This is useful as it allows higher usage of puts() in favour of > > > printf() > > > > a few more to convert: > > include/nios2.h:#define _str_(x) #x > > include/configs/astro_mcf5373l.h:#define _QUOTEME(x) #x > > include/configs/tegra2-common.h:#define QUOTE_(m) #m > > board/logicpd/zoom2/zoom2_serial.h:#define S(a) #a > > > > not sure if we also want to clean up (in case they're copied from Linux > > -- then we'd prob just leave these headers alone, but fix any usage > > outside of the headers to use your new stringify): > > arch/mips/include/asm/mipsregs.h:#define __STR(x) #x > > arch/powerpc/include/asm/processor.h:#define tostring(s) #s > > Ok, I'll send a subsequent patch for these ... what about merging these now > tho? fine by me -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: