From: Lothar Waßmann Date: Wed, 10 Sep 2014 09:03:52 +0000 (+0200) Subject: karo: tx28: fix CONFIG_BOOTARGS and CONFIG_BOOTCOMMAND settings X-Git-Tag: KARO-TX28-2014-09-10 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=849f8ba716fcc5e9fb86d195d291ff0abc7f5fe0 karo: tx28: fix CONFIG_BOOTARGS and CONFIG_BOOTCOMMAND settings --- diff --git a/include/configs/tx28.h b/include/configs/tx28.h index 6b892f887e..b3e85ed045 100644 --- a/include/configs/tx28.h +++ b/include/configs/tx28.h @@ -101,8 +101,8 @@ #define CONFIG_ZERO_BOOTDELAY_CHECK #define CONFIG_SYS_AUTOLOAD "no" #define CONFIG_BOOTFILE "uImage" -#define CONFIG_BOOTARGS "console=ttyAMA0,115200 ro debug panic=1" -#define CONFIG_BOOTCOMMAND "run bootcmd_nand" +#define CONFIG_BOOTARGS "init=/linuxrc console=ttyAMA0,115200 ro debug panic=1" +#define CONFIG_BOOTCOMMAND "run bootcmd_${boot_mode} bootm_cmd" #ifdef CONFIG_TX28_S #define CONFIG_LOADADDR 41000000 #else @@ -114,7 +114,7 @@ #define CONFIG_U_BOOT_IMG_SIZE SZ_1M /* - * Extra Environments + * Extra Environment Settings */ #ifdef CONFIG_ENV_IS_NOWHERE #define CONFIG_EXTRA_ENV_SETTINGS \