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

Unified Diff: include/configs/chromeos/tegra2/seaboard/developer.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 side-by-side diff with in-line comments
Download patch
Index: include/configs/chromeos/tegra2/seaboard/developer.h
diff --git a/include/configs/chromeos/tegra2/seaboard/developer.h b/include/configs/chromeos/tegra2/seaboard/developer.h
index 06c3fb089b740aa8525cf11137b2c668b28b2861..420cd27e968a3053945d23335f94122aedeb1384 100644
--- a/include/configs/chromeos/tegra2/seaboard/developer.h
+++ b/include/configs/chromeos/tegra2/seaboard/developer.h
@@ -12,4 +12,17 @@
#include <configs/chromeos/tegra2/seaboard/parts/usb.h>
+/*
+ * Our developer-friendly boot process tries a number of things in sequence
+ * until it finds a kernel. Network booting is tried first if we have Ethernet.
+ */
+#define CONFIG_BOOTCOMMAND \
+ "usb start; "\
+ "if test ${ethact} != \"\"; then "\
+ "run dhcp_boot ; " \
+ "fi ; " \
+ "run keynfs_boot ; " \
+ "run usb_boot ; " \
+ "run mmc_boot"
robotboy 2011/02/17 17:51:45 Please add this for all of the boards?
sjg 2011/02/17 18:55:47 I will move it to tegra2/developer.h, as thinking
+
#endif /*__configs_chromeos_tegra2_seaboard_developer_h__*/

Powered by Google App Engine
This is Rietveld 408576698