Re: [U-Boot] [PATCH 1/4] COMMON: Add __stringify() function

2012-09-23 Thread Marek Vasut
Dear Albert ARIBAUD, > Hi Marek, > > On Sun, 23 Sep 2012 20:21:54 +0200, Marek Vasut wrote: > > Dear Albert ARIBAUD, > > > > > Hi Marek, > > > > > > On Sun, 23 Sep 2012 17:41:22 +0200, Marek Vasut wrote: > > > > Copied from Linux kernel: > > > > commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4

Re: [U-Boot] [PATCH 1/4] COMMON: Add __stringify() function

2012-09-23 Thread Albert ARIBAUD
Hi Marek, On Sun, 23 Sep 2012 20:21:54 +0200, Marek Vasut wrote: > Dear Albert ARIBAUD, > > > Hi Marek, > > > > On Sun, 23 Sep 2012 17:41:22 +0200, Marek Vasut wrote: > > > Copied from Linux kernel: > > > commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 > > > Date: Wed Apr 8 16:58:57 2009 +0

Re: [U-Boot] [PATCH 1/4] COMMON: Add __stringify() function

2012-09-23 Thread Marek Vasut
Dear Albert ARIBAUD, > Hi Marek, > > On Sun, 23 Sep 2012 17:41:22 +0200, Marek Vasut wrote: > > Copied from Linux kernel: > > commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 > > Date: Wed Apr 8 16:58:57 2009 +0800 > > > > This function converts static number to string in preprocessor. > > Thi

Re: [U-Boot] [PATCH 1/4] COMMON: Add __stringify() function

2012-09-23 Thread Albert ARIBAUD
Hi Marek, On Sun, 23 Sep 2012 17:41:22 +0200, Marek Vasut wrote: > Copied from Linux kernel: > commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 > Date: Wed Apr 8 16:58:57 2009 +0800 > > This function converts static number to string in preprocessor. > This is useful as it allows higher usage o

[U-Boot] [PATCH 1/4] COMMON: Add __stringify() function

2012-09-23 Thread Marek Vasut
Copied from Linux kernel: commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 Date: Wed Apr 8 16:58:57 2009 +0800 This function converts static number to string in preprocessor. This is useful as it allows higher usage of puts() in favour of printf() Signed-off-by: Marek Vasut Cc: Wolfgang Denk -