From bea2674ccde5a495710adef62ebd5a294752f59d Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Wed, 16 May 2012 06:21:00 +0000 Subject: tegra: flesh out bootcmd This implements a useful bootcmd for Tegra. The boot order is: * If USB enabled, USB storage * Internal MMC (SD card or eMMC) * If networking is enabled, BOOTP/TFTP When booting from USB or MMC, the boot script is assumed to be in partition 1 (although this may be overridden via the rootpart variable), both ext2 and FAT filesystems are supported, the boot script may exist in either / or /boot, and the boot script may be named boot.scr.uimg or boot.scr. When booting over the network, it is assumed that boot.scr.uimg exists on the TFTP server. There is less flexibility here since those setting up network booting are expected to need less hand-holding. In all cases, it is expected that the initial file loaded is a U-Boot image containing a script that will load the kernel, load any required initrd, load any required DTB, and finally bootm the kernel. Signed-off-by: Stephen Warren Signed-off-by: Tom Warren --- include/configs/harmony.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/configs/harmony.h') diff --git a/include/configs/harmony.h b/include/configs/harmony.h index 3706a4089a..25d6ec7f90 100644 --- a/include/configs/harmony.h +++ b/include/configs/harmony.h @@ -60,4 +60,7 @@ /* Environment not stored */ #define CONFIG_ENV_IS_NOWHERE + +#include "tegra2-common-post.h" + #endif /* __CONFIG_H */ -- cgit v1.2.3