summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-08-23 11:55:30 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:37 -0700
commit9485367c33fa0f98a712f8357074455d1b6778de (patch)
treeadc9fced8c1d4ff322e88b16c18bc983ce12991e /include
parent1f0e6ddb865d73af2c21b84f1fdc1ddaa3b455f5 (diff)
CHROMIUMOS: Add options to enable IDE and USB boot
Rather than rely on CONFIG_CMD_IDE and CONFIG_USB_EHCI which are not really designed for this purpose, this creates two new config options: CONFIG_CHROMEOS_USB - support booting from USB CONFIG_CHROMEOS_IDE - support booting from IDE BUG=chromium-os:19518 TEST=build on Seaboard; vbexport_test diskinfo See that all boot devices are found with SD and USB inserted Change-Id: Ifb37353f1518794fce903d79ad31dc225b0fb4e3 Reviewed-on: http://gerrit.chromium.org/gerrit/6502 Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/chromeos_tegra2_twostop.h3
-rw-r--r--include/configs/coreboot.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/chromeos_tegra2_twostop.h b/include/configs/chromeos_tegra2_twostop.h
index 6299ab1eaee..2b2990af894 100644
--- a/include/configs/chromeos_tegra2_twostop.h
+++ b/include/configs/chromeos_tegra2_twostop.h
@@ -10,6 +10,9 @@
/* So far all our tegra2-based boards share the seaboard config. */
#include <configs/seaboard.h>
+/* Support USB booting */
+#define CONFIG_CHROMEOS_USB
+
#include "chromeos.h"
/* We initialize Chrome OS -specific GPIOs here */
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index 69cff386b07..fc67f9e9fc6 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -136,6 +136,10 @@
/* This value is just to get the chromeos library to compile. */
#define CHROMEOS_VBNVCONTEXT_LBA 0
+/* Support USB and IDE booting */
+#define CONFIG_CHROMEOS_USB
+#define CONFIG_CHROMEOS_IDE
+
/*-----------------------------------------------------------------------
* Command line configuration.
*/