diff options
author | Gabe Black <gabeblack@google.com> | 2013-06-28 14:24:33 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-07-10 23:18:30 +0200 |
commit | 9f96aa6b5e6bc5af8feb7bb29239f8421ded1f14 (patch) | |
tree | 2ef6a5a9bf7f316e62a1232c04154c5d24e3a5dd /src/ec/google/chromeec/ec.h | |
parent | 2b3167908be680b5aa1cd6fe2f42a44d4c118f3f (diff) |
chromeec: Add a function to send passthrough i2c messages.
Change-Id: I576d0dbf65693f40d7d1c20d3d5e7a75b8e14dc9
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/3752
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/ec/google/chromeec/ec.h')
-rw-r--r-- | src/ec/google/chromeec/ec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/ec.h b/src/ec/google/chromeec/ec.h index 356d2d215d..f661d311a8 100644 --- a/src/ec/google/chromeec/ec.h +++ b/src/ec/google/chromeec/ec.h @@ -25,6 +25,8 @@ #include <stdint.h> #ifndef __PRE_RAM__ +int google_chromeec_i2c_xfer(uint8_t chip, uint8_t addr, int alen, + uint8_t *buffer, int len, int is_read); u32 google_chromeec_get_wake_mask(void); int google_chromeec_set_sci_mask(u32 mask); int google_chromeec_set_smi_mask(u32 mask); |