From 69ba0b42b200474e50b10dd0cb813776f0d59d7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Thu, 23 Aug 2012 09:47:47 +0200 Subject: [PATCH] make sure CONFIG_SYS_LOAD_ADDR has a '0x' prefix --- include/configs/tx53.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/configs/tx53.h b/include/configs/tx53.h index 5cabc0be1d..74b633251e 100644 --- a/include/configs/tx53.h +++ b/include/configs/tx53.h @@ -96,6 +96,8 @@ */ #define xstr(s) str(s) #define str(s) #s +#define __pfx(x, s) (x##s) +#define _pfx(x, s) __pfx(x, s) #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS @@ -105,8 +107,8 @@ #define CONFIG_BOOTFILE "uImage" #define CONFIG_BOOTARGS "console=ttymxc0,115200 ro debug panic=1" #define CONFIG_BOOTCOMMAND "run bootcmd_nand" -#define CONFIG_LOADADDR 0x78000000 -#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR +#define CONFIG_LOADADDR 78000000 +#define CONFIG_SYS_LOAD_ADDR _pfx(0x, CONFIG_LOADADDR) #define CONFIG_U_BOOT_IMG_SIZE SZ_1M #define CONFIG_HW_WATCHDOG -- 2.39.2