diff options
Diffstat (limited to 'include/configs/P1_P2_RDB.h')
| -rw-r--r-- | include/configs/P1_P2_RDB.h | 19 | 
1 files changed, 12 insertions, 7 deletions
| diff --git a/include/configs/P1_P2_RDB.h b/include/configs/P1_P2_RDB.h index ab881662d..2cb571906 100644 --- a/include/configs/P1_P2_RDB.h +++ b/include/configs/P1_P2_RDB.h @@ -653,14 +653,19 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);  #define	CONFIG_EXTRA_ENV_SETTINGS				\  	"netdev=eth0\0"						\ -	"uboot=" MK_STR(CONFIG_UBOOTPATH) "\0"				\ -	"loadaddr=1000000\0"			\ +	"uboot=" __stringify(CONFIG_UBOOTPATH) "\0"		\ +	"loadaddr=1000000\0"					\  	"tftpflash=tftpboot $loadaddr $uboot; "			\ -		"protect off " MK_STR(CONFIG_SYS_TEXT_BASE) " +$filesize; "	\ -		"erase " MK_STR(CONFIG_SYS_TEXT_BASE) " +$filesize; "		\ -		"cp.b $loadaddr " MK_STR(CONFIG_SYS_TEXT_BASE) " $filesize; "	\ -		"protect on " MK_STR(CONFIG_SYS_TEXT_BASE) " +$filesize; "		\ -		"cmp.b $loadaddr " MK_STR(CONFIG_SYS_TEXT_BASE) " $filesize\0"	\ +		"protect off " __stringify(CONFIG_SYS_TEXT_BASE)	\ +			" +$filesize; "	\ +		"erase " __stringify(CONFIG_SYS_TEXT_BASE)		\ +			" +$filesize; "	\ +		"cp.b $loadaddr " __stringify(CONFIG_SYS_TEXT_BASE)	\ +			" $filesize; "	\ +		"protect on " __stringify(CONFIG_SYS_TEXT_BASE)		\ +			" +$filesize; "	\ +		"cmp.b $loadaddr " __stringify(CONFIG_SYS_TEXT_BASE)	\ +			" $filesize\0"	\  	"consoledev=ttyS0\0"				\  	"ramdiskaddr=2000000\0"			\  	"ramdiskfile=rootfs.ext2.gz.uboot\0"		\ |