diff options
author | Peter Stuge <peter@stuge.se> | 2013-07-06 19:44:47 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-12-02 20:04:39 +0100 |
commit | 77a5abe78052ac8f65c005272700d82c2b014da7 (patch) | |
tree | 745583faa8fd81fc8e905d56cb1491f4973626d5 /src/ec/lenovo/h8/h8.h | |
parent | 3d06488dbf86763d87980dbf66f384d430eff4fd (diff) |
ec/lenovo/h8: Add h8_build_id_and_function_spec_version()
The function reads the Build ID and the supported function specification
version from the running EC firmware, and stores a text representation
in the provided output buffer.
Change-Id: I3b647d7f315c9b4922fa9a9c5167a80f6d82e753
Signed-off-by: Peter Stuge <peter@stuge.se>
Reviewed-on: http://review.coreboot.org/3617
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/ec/lenovo/h8/h8.h')
-rw-r--r-- | src/ec/lenovo/h8/h8.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/h8.h b/src/ec/lenovo/h8/h8.h index 7379fc7456..061a213d05 100644 --- a/src/ec/lenovo/h8/h8.h +++ b/src/ec/lenovo/h8/h8.h @@ -27,6 +27,7 @@ void h8_usb_power_enable(int on); void h8_enable_event(int event); void h8_disable_event(int event); int h8_ultrabay_device_present(void); +u8 h8_build_id_and_function_spec_version(char *buf, u8 buf_len); /* EC registers */ #define H8_CONFIG0 0x00 |