| Index: include/configs/chromeos/tegra2/normal.h
|
| diff --git a/include/configs/chromeos/tegra2/normal.h b/include/configs/chromeos/tegra2/normal.h
|
| index ba9259ceaf0a748dc731dd30739edccd585bbe50..146837babffb6f27a7b2a3fcb01fa780d96c7313 100644
|
| --- a/include/configs/chromeos/tegra2/normal.h
|
| +++ b/include/configs/chromeos/tegra2/normal.h
|
| @@ -10,4 +10,29 @@
|
| #include <configs/chromeos/normal.h>
|
| #include <configs/chromeos/tegra2/common.h>
|
|
|
| +
|
| +/*
|
| + * TODO(sjg): Copied from recovery.h for now. This should be cut back to only
|
| + * do the official boot
|
| + */
|
| +#define CONFIG_EXTRA_ENV_SETTINGS_ARCH \
|
| + "scriptaddr=0x408000\0" \
|
| + "script_img=/u-boot/boot.scr.uimg\0" \
|
| + "mmc0_boot=setenv devnum 0; run mmc_boot;\0" \
|
| + "mmc1_boot=setenv devnum 1; run mmc_boot;\0" \
|
| + "usb0_boot=usb start 0; run usb_boot;\0" \
|
| + "usb1_boot=usb start 1; run usb_boot;\0" \
|
| + "scr_boot=fatload ${devtype} ${devnum}:c ${scriptaddr} ${script_img};"\
|
| + "source ${scriptaddr};" \
|
| + "read ${devtype} ${devnum}:${kernelpart} ${scriptaddr} 0 10;" \
|
| + "source ${scriptaddr};\0" \
|
| + "mmc_boot=mmc init ${devnum};" \
|
| + "setenv devtype mmc;" \
|
| + "setenv devname mmcblk${devnum}p;" \
|
| + "run scr_boot;\0" \
|
| + "usb_boot=setenv devtype usb;" \
|
| + "setenv devnum 0;" \
|
| + "setenv devname sda;" \
|
| + "run scr_boot;\0"
|
| +
|
| #endif //__configs_chromeos_tegra2_normal_h__
|
|
|