summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/h8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/h8/h8.h')
-rw-r--r--src/ec/lenovo/h8/h8.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/h8.h b/src/ec/lenovo/h8/h8.h
index d263313fad..b5d8f017bf 100644
--- a/src/ec/lenovo/h8/h8.h
+++ b/src/ec/lenovo/h8/h8.h
@@ -25,6 +25,7 @@ void h8_wlan_enable(int on);
void h8_set_audio_mute(int on);
void h8_enable_event(int event);
void h8_disable_event(int event);
+int h8_ultrabay_device_present(void);
/* EC registers */
#define H8_CONFIG0 0x00
@@ -102,6 +103,10 @@ void h8_disable_event(int event);
#define H8_EVENT_FN_PRESS 0x39
+#define H8_STATUS0 0x46
+#define H8_STATUS1 0x47
+#define H8_STATUS2 0x48
+
#define H8_EVENT_BAT0 0x4a
#define H8_EVENT_BAT0_STATE 0x4b