Tegra: TEC: Enable boot script support
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>
diff --git a/include/configs/tec.h b/include/configs/tec.h
index f90f5c7..f280cc0 100644
--- a/include/configs/tec.h
+++ b/include/configs/tec.h
@@ -73,13 +73,6 @@
#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 */