From 76720d064da18d67c1be53ab4c0b2af6f1fcfd06 Mon Sep 17 00:00:00 2001 From: Hung-Te Lin Date: Mon, 15 Apr 2013 18:06:32 +0800 Subject: 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 Reviewed-on: http://review.coreboot.org/3089 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- src/ec/google/chromeec/ec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ec/google/chromeec/ec.h') 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); -- cgit v1.2.3