| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #ifndef __configs_chromeos_tegra2_normal_h__ | 7 #ifndef __configs_chromeos_tegra2_normal_h__ |
| 8 #define __configs_chromeos_tegra2_normal_h__ | 8 #define __configs_chromeos_tegra2_normal_h__ |
| 9 | 9 |
| 10 #include <configs/chromeos/normal.h> | 10 #include <configs/chromeos/normal.h> |
| 11 #include <configs/chromeos/tegra2/common.h> | 11 #include <configs/chromeos/tegra2/common.h> |
| 12 | 12 |
| 13 |
| 14 /* |
| 15 * TODO(sjg): Copied from recovery.h for now. This should be cut back to only |
| 16 * do the official boot |
| 17 */ |
| 18 #define CONFIG_EXTRA_ENV_SETTINGS_ARCH \ |
| 19 "scriptaddr=0x408000\0" \ |
| 20 "script_img=/u-boot/boot.scr.uimg\0" \ |
| 21 "mmc0_boot=setenv devnum 0; run mmc_boot;\0" \ |
| 22 "mmc1_boot=setenv devnum 1; run mmc_boot;\0" \ |
| 23 "usb0_boot=usb start 0; run usb_boot;\0" \ |
| 24 "usb1_boot=usb start 1; run usb_boot;\0" \ |
| 25 "scr_boot=fatload ${devtype} ${devnum}:c ${scriptaddr} ${script_img};"\ |
| 26 "source ${scriptaddr};" \ |
| 27 "read ${devtype} ${devnum}:${kernelpart} ${scriptaddr} 0 10;" \ |
| 28 "source ${scriptaddr};\0" \ |
| 29 "mmc_boot=mmc init ${devnum};" \ |
| 30 "setenv devtype mmc;" \ |
| 31 "setenv devname mmcblk${devnum}p;" \ |
| 32 "run scr_boot;\0" \ |
| 33 "usb_boot=setenv devtype usb;" \ |
| 34 "setenv devnum 0;" \ |
| 35 "setenv devname sda;" \ |
| 36 "run scr_boot;\0" |
| 37 |
| 13 #endif //__configs_chromeos_tegra2_normal_h__ | 38 #endif //__configs_chromeos_tegra2_normal_h__ |
| OLD | NEW |