|
|
@@ -13,15 +13,11 @@
|
|
|
|
|
|
#define SSEGMENT_POINT 0xFD6A0960
|
|
|
|
|
|
-#define EC_CMD_PORT 0x66
|
|
|
-#define EC_DATA_PORT 0x62
|
|
|
|
|
|
#define EC_VERSION_WEC 0x81
|
|
|
#define EC_VERSION_REC 0x80
|
|
|
|
|
|
|
|
|
-#define EC_OBF 0x01 // Output Buffer Full
|
|
|
-#define EC_IBF 0x02 // Input Buffer Full
|
|
|
|
|
|
#define CMD_READ_RAM 0x97
|
|
|
#define CMD_WRITE_RAM 0x98
|
|
|
@@ -32,8 +28,6 @@
|
|
|
#define OFFSET_TURNOFF_CTL 0x04
|
|
|
|
|
|
#define BIT0 (1 << 0)
|
|
|
-#define TIMEOUT_LOOPS 100000
|
|
|
-
|
|
|
|
|
|
#define IT8786_HWM_BASE_DEFAULT 0x0A40
|
|
|
#define HWM_INDEX_OFFSET 0x05
|
|
|
@@ -44,5 +38,4 @@
|
|
|
#define EC_IBF 0x02
|
|
|
#define TIMEOUT_LOOPS 100000
|
|
|
|
|
|
-
|
|
|
#endif
|