summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/ec.h
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2013-04-15 18:06:32 +0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-04-16 01:07:16 +0200
commit76720d064da18d67c1be53ab4c0b2af6f1fcfd06 (patch)
treeda0759975b3a071dfcbd00f155495d4bb0dd9c37 /src/ec/google/chromeec/ec.h
parent6bfbb33a64f95bcfdf46f8a35c342177886bb594 (diff)
ec/google: Move plug-n-play initialization to LPC protocol.
"Plug-n-play" is not supported on all platforms using Google's Chrome EC. For example, EC on I2C bus will need explicit configuration and initialization. So move the plug-n-play initialization to the LPC implementation. Verified by building Google/Link (with EC/LPC) successfully. Change-Id: I49e5943503fd5301aa2b2f8c1265f3813719d7e3 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: http://review.coreboot.org/3089 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/ec.h b/src/ec/google/chromeec/ec.h
index a4c196056f..3eb555c103 100644
--- a/src/ec/google/chromeec/ec.h
+++ b/src/ec/google/chromeec/ec.h
@@ -30,6 +30,7 @@ int google_chromeec_set_wake_mask(u32 mask);
u8 google_chromeec_get_event(void);
int google_ec_running_ro(void);
u16 google_chromeec_get_board_version(void);
+void google_chromeec_init(void);
#endif
uint8_t google_chromeec_calc_checksum(const uint8_t *data, int size);