From e89695416525f416d3856791f2b024d8343cceec Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Fri, 27 Apr 2012 15:31:48 -0700 Subject: [PATCH] stm32: change slave address to 0x3c This is a hack to avoid issues caused by incompatible messaging protocol updates. During protocol development, the length of a packet changed which could cause the system to hang (or other issues) if the host requested the wrong number of bytes from the EC. This avoids the issue with development versions of the protocol, by simply making the EC unresponsive on the old port. BUG=none TEST=Tested on Daisy 1.02 and EVT1 Change-Id: I96495d4c2bd14b377bef862801934d5168cb6cc7 Signed-off-by: David Hendricks --- chip/stm32l/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chip/stm32l/i2c.c b/chip/stm32l/i2c.c index 1ff3b88f90..ac29490a3b 100644 --- a/chip/stm32l/i2c.c +++ b/chip/stm32l/i2c.c @@ -18,7 +18,7 @@ #define CPRINTF(format, args...) cprintf(CC_I2C, format, ## args) /* 8-bit I2C slave address */ -#define I2C_ADDRESS 0xec +#define I2C_ADDRESS 0x3c /* I2C bus frequency */ #define I2C_FREQ 100000 /* Hz */