]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Tegra: TEC: Enable boot script support
authorThierry Reding <thierry.reding@avionic-design.de>
Wed, 3 Apr 2013 04:52:45 +0000 (04:52 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 15 Apr 2013 18:01:37 +0000 (11:01 -0700)
Boot script support brings TEC in line with other Tegra boards. To
enable booting a Linux kernel with initial ramdisk, also include support
for the new FIT image type.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
include/configs/tec.h

index f90f5c7526e2e690fa9d13ce07162e173ac8ef07..f280cc0d3b47327e27db4c75a04f523d5fde5a2c 100644 (file)
 #define CONFIG_CMD_NET
 #define CONFIG_CMD_DHCP
 
-#define CONFIG_FIT
-
-#define CONFIG_BOOTCOMMAND                             \
-       "mmc rescan;"                                   \
-       "ext2load mmc 0 0x17000000 /boot/uImage;"       \
-       "bootm"
-
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
@@ -87,6 +80,9 @@
 #define LCD_BPP LCD_COLOR16
 #define CONFIG_SYS_WHITE_ON_BLACK
 
+/* support the new (FDT-based) image format */
+#define CONFIG_FIT
+
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */