karo: tx28: fix CONFIG_BOOTARGS and CONFIG_BOOTCOMMAND settings KARO-TX28-2014-09-10
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 10 Sep 2014 09:03:52 +0000 (11:03 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 10 Sep 2014 09:03:52 +0000 (11:03 +0200)
include/configs/tx28.h

index 6b892f8..b3e85ed 100644 (file)
 #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
 #define CONFIG_U_BOOT_IMG_SIZE         SZ_1M
 
 /*
- * Extra Environments
+ * Extra Environment Settings
  */
 #ifdef CONFIG_ENV_IS_NOWHERE
 #define CONFIG_EXTRA_ENV_SETTINGS                                      \