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

Unified Diff: bootloader_type.cc

Issue 3601014: cros_boot_mode: make cros_debug bootloader argument prempt others (Closed) Base URL: http://git.chromium.org/git/cros_boot_mode.git
Patch Set: Created 10 years, 2 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
« no previous file with comments | « bootloader_type.h ('k') | bootloader_type_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bootloader_type.cc
diff --git a/bootloader_type.cc b/bootloader_type.cc
index 41a5fd8eafb624ee9c943270d34db306750677c2..62ccf521151e5f6c25f5a091473d95ab81b8cc06 100644
--- a/bootloader_type.cc
+++ b/bootloader_type.cc
@@ -15,10 +15,10 @@
namespace cros_boot_mode {
const char *BootloaderType::kBootloaderTypeText[] = {
+ "debug", // cros_debug (cros_fw with developer override)
"chromeos", // cros_fw (any platform)
"efi", // cros_efi
"legacy", // cros_legacy
- "debug", // cros_debug (cros_fw with developer override)
};
const size_t BootloaderType::kBootloaderTypeCount =
sizeof(kBootloaderTypeText) / sizeof(*kBootloaderTypeText);
@@ -26,10 +26,10 @@ const size_t BootloaderType::kBootloaderTypeCount =
// or '\0' word boundaries. The ordering of this array must correspond to
// the array above and the defined enum.
const char *BootloaderType::kSupportedBootloaders[] = {
+ "cros_debug",
"cros_secure",
"cros_efi",
"cros_legacy",
- "cros_debug",
};
const int BootloaderType::kMaxKernelCmdlineSize = 4096; // one page.
« no previous file with comments | « bootloader_type.h ('k') | bootloader_type_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698