Add more properties to crossystem
crossystem now covers all data currently provided by chromeos_acpi.
Change-Id: I3364c4d65ddf63fe788d3d9c1e9d05e64be22856
BUG=chromium-os:12282
TEST=manual - test on Cr-48 and compare with ACPI values
Review URL: http://codereview.chromium.org/6557001
diff --git a/utility/crossystem_main.c b/utility/crossystem_main.c
index 7a1c1b5..23a9779 100644
--- a/utility/crossystem_main.c
+++ b/utility/crossystem_main.c
@@ -28,15 +28,25 @@
{"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}
};