Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: include/configs/chromeos/tegra2/normal.h

Issue 6480056: Add four main boot methods to developer build (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/u-boot-next.git@chromeos-v2010.09
Patch Set: Fixed # on end of serial Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698