diff options
author | Marek Vasut <marex@denx.de> | 2012-09-23 17:41:23 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:53:47 -0700 |
commit | 93ea89f0d979a000e4c47dd8a8991328b2ac8cf7 (patch) | |
tree | e30e63258ab9208f0bf382dcc8403a0d9c3ef808 /include/configs/at91sam9263ek.h | |
parent | 9aed5080834a4e848a88b972738f28dce466b420 (diff) |
COMMON: Use __stringify() instead of xstr()
Kill multiple occurances and redeclaration of xstr in favor of __stringify().
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/at91sam9263ek.h')
-rw-r--r-- | include/configs/at91sam9263ek.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h index 9421b5373ce..35038229ad5 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};" \ |