summaryrefslogtreecommitdiff
path: root/include/configs/astro_mcf5373l.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-23 17:41:25 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:53:47 -0700
commit51926d5ee0be029fb45f10f42756df97279f8ad3 (patch)
tree651bfdf030853d4499f6729b7eb8b57f0247e38e /include/configs/astro_mcf5373l.h
parent5368c55d4ca463405225dd184ecabf370b715c05 (diff)
downloadu-boot-imx-51926d5ee0be029fb45f10f42756df97279f8ad3.zip
u-boot-imx-51926d5ee0be029fb45f10f42756df97279f8ad3.tar.gz
u-boot-imx-51926d5ee0be029fb45f10f42756df97279f8ad3.tar.bz2
COMMON: Use __stringify() instead of rest of implementations
Fix up the rest of implementations of __stringify(). Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/astro_mcf5373l.h')
-rw-r--r--include/configs/astro_mcf5373l.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h
index 5c4cac9..a0ed8f1 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 <linux/stringify.h>
+
/*
* 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&&"\