From 93ea89f0d979a000e4c47dd8a8991328b2ac8cf7 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 23 Sep 2012 17:41:23 +0200 Subject: COMMON: Use __stringify() instead of xstr() Kill multiple occurances and redeclaration of xstr in favor of __stringify(). Signed-off-by: Marek Vasut Cc: Wolfgang Denk --- include/configs/at91sam9263ek.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/configs/at91sam9263ek.h') diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h index 9421b53..3503822 100644 --- a/include/configs/at91sam9263ek.h +++ b/include/configs/at91sam9263ek.h @@ -156,11 +156,8 @@ /* Address and size of Primary Environment Sector */ #define CONFIG_ENV_SIZE 0x10000 -#define xstr(s) str(s) -#define str(s) #s - #define CONFIG_EXTRA_ENV_SETTINGS \ - "monitor_base=" xstr(CONFIG_SYS_MONITOR_BASE) "\0" \ + "monitor_base=" __stringify(CONFIG_SYS_MONITOR_BASE) "\0" \ "update=" \ "protect off ${monitor_base} +${filesize};" \ "erase ${monitor_base} +${filesize};" \ -- cgit v1.1