aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/ec.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2018-10-12 17:19:53 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-10-18 15:01:40 +0000
commit32ca3cd246746c2a1d584e4a63bcd43ebb7fe23f (patch)
tree85a19dfcf13c2504545a0ed69172cbf519a4bd4c /src/ec/google/chromeec/ec.h
parent26cf00ab498a78b59c9170d38d6ee7ced930259c (diff)
ec/google/chromeec: Use common MEC interface
Switch to using the common MEC interface instead of the Chrome EC specific code. Tested on a Chell chromebook that has a MEC based Chrome EC to ensure that the EC interface is still functional. Change-Id: Idf26e62c2843993c2df2ab8ef157b263a71a97c9 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/29112 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/ec/google/chromeec/ec.h')
-rw-r--r--src/ec/google/chromeec/ec.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ec/google/chromeec/ec.h b/src/ec/google/chromeec/ec.h
index 419870c35c..1e23ae9205 100644
--- a/src/ec/google/chromeec/ec.h
+++ b/src/ec/google/chromeec/ec.h
@@ -93,9 +93,6 @@ int google_chromeec_cbi_get_dram_part_num(char *buf, size_t bufsize);
#define MEC_EMI_RANGE_START EC_HOST_CMD_REGION0
#define MEC_EMI_RANGE_END (EC_LPC_ADDR_MEMMAP + EC_MEMMAP_SIZE)
-void mec_io_bytes(int write, u16 offset, unsigned int length,
- u8 *buf, u8 *csum);
-
enum usb_charge_mode {
USB_CHARGE_MODE_DISABLED,
USB_CHARGE_MODE_CHARGE_AUTO,