summaryrefslogtreecommitdiff
path: root/include/battery_smart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/battery_smart.h')
-rw-r--r--include/battery_smart.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/battery_smart.h b/include/battery_smart.h
index 94b291b4d9..3f3ee869fd 100644
--- a/include/battery_smart.h
+++ b/include/battery_smart.h
@@ -141,11 +141,13 @@
int sb_read(int cmd, int *param);
/* Read sequence from battery */
-int sb_read_string(int port, int slave_addr, int offset, uint8_t *data,
- int len);
+int sb_read_string(int offset, uint8_t *data, int len);
/* Write to battery */
int sb_write(int cmd, int param);
+/* Read manufactures access data from the battery */
+int sb_read_mfgacc(int cmd, int block, uint8_t *data, int len);
+
#endif /* __CROS_EC_BATTERY_SMART_H */