From 51926d5ee0be029fb45f10f42756df97279f8ad3 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 23 Sep 2012 17:41:25 +0200 Subject: COMMON: Use __stringify() instead of rest of implementations Fix up the rest of implementations of __stringify(). Signed-off-by: Marek Vasut Cc: Wolfgang Denk --- include/configs/astro_mcf5373l.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include/configs/astro_mcf5373l.h') diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h index 5c4cac937d..a0ed8f18f5 100644 --- a/include/configs/astro_mcf5373l.h +++ b/include/configs/astro_mcf5373l.h @@ -33,6 +33,8 @@ #ifndef _CONFIG_ASTRO_MCF5373L_H #define _CONFIG_ASTRO_MCF5373L_H +#include + /* * set the card type to actually compile for; either of * the possibilities listed below has to be used! @@ -209,12 +211,9 @@ * u-boot: 'set' command */ -#define _QUOTEME(x) #x -#define QUOTEME(x) _QUOTEME(x) - #define CONFIG_EXTRA_ENV_SETTINGS \ "loaderversion=11\0" \ - "card_id="QUOTEME(ASTRO_ID)"\0" \ + "card_id="__stringify(ASTRO_ID)"\0" \ "alterafile=0\0" \ "xilinxfile=0\0" \ "xilinxload=imxtract 0x540000 $xilinxfile 0x41000000&&"\ -- cgit v1.2.1