summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-05-08 12:18:42 -0700
committerRandall Spangler <rspangler@chromium.org>2012-05-08 21:00:38 -0700
commit8ea7983c298cb33b7e1b0a063a3a98408d2779ab (patch)
tree679cd5a4ee57e9cdaa2963f76897814865bbca59 /include/system.h
parent2615d8cdaebfa017af86380b48b1b01aa2a208e5 (diff)
downloadchrome-ec-8ea7983c298cb33b7e1b0a063a3a98408d2779ab.tar.gz
Add gpio_set_flags() and system_get_board_version()
Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=chrome-os-partner:9117 TEST=version; board version should be 0 on proto1 and 1 on EVT Change-Id: Ic64ad0d009151fbda09f5c1605ef50ae708cb6ae
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h
index 3246242971..4aeac7b2c6 100644
--- a/include/system.h
+++ b/include/system.h
@@ -105,6 +105,10 @@ int system_run_image_copy(enum system_image_copy_t copy,
* currently-running image. */
const char *system_get_version(enum system_image_copy_t copy);
+/* Return the board version number. The meaning of this number is
+ * board-dependent; see enum board_version in board.h for known versions. */
+int system_get_board_version(void);
+
/* Returns information about the build including the version
* the build date and user/machine.
*/