From 77a5abe78052ac8f65c005272700d82c2b014da7 Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Sat, 6 Jul 2013 19:44:47 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/3617 Reviewed-by: Stefan Reinauer Tested-by: Stefan Reinauer --- src/ec/lenovo/h8/h8.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ec/lenovo/h8/h8.h') 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 -- cgit v1.2.3