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

Unified Diff: utility/crossystem_main.c

Issue 6557001: Add more properties to crossystem (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: 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
« no previous file with comments | « host/lib/crossystem.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/crossystem_main.c
diff --git a/utility/crossystem_main.c b/utility/crossystem_main.c
index 7a1c1b515c258768ca939561ef5b6b14370efae9..23a9779dea81c5deae35b441b6cf81b4a6a59c03 100644
--- a/utility/crossystem_main.c
+++ b/utility/crossystem_main.c
@@ -28,15 +28,25 @@ const Param sys_param_list[] = {
{"recoverysw_ec_boot", 0, 0, "Recovery switch position at EC boot"},
{"wpsw_cur", 0, 0, "Firmware write protect switch current position"},
{"wpsw_boot", 0, 0, "Firmware write protect switch position at boot"},
+ {"recovery_reason", 0, 0, "Recovery mode reason for current boot"},
+ {"savedmem_base", 0, 0, "RAM debug data area physical address"},
+ {"savedmem_size", 0, 0, "RAM debug data area size in bytes"},
/* Read-only strings */
{"hwid", 1, 0, "Hardware ID"},
{"fwid", 1, 0, "Active firmware ID"},
{"ro_fwid", 1, 0, "Read-only firmware ID"},
+ {"mainfw_act", 1, 0, "Active main firmware"},
+ {"mainfw_type", 1, 0, "Active main firmware type"},
+ {"ecfw_act", 1, 0, "Active EC firmware"},
/* Writable integers */
{"recovery_request", 0, 1, "Recovery mode request (writable)"},
{"dbg_reset", 0, 1, "Debug reset mode request (writable)"},
{"fwb_tries", 0, 1, "Try firmware B count (writable)"},
+ /* TODO: implement the following:
+ * nvram_cleared
+ */
+
/* Terminate with null name */
{NULL, 0, 0, NULL}
};
« no previous file with comments | « host/lib/crossystem.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698