Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4617
-gerrit
commit 1e9e51338c2285273a6cc67fa4976dd6d849fcb6 Author: Vladimir Serbinenko phcoder@gmail.com Date: Sun Jan 5 06:50:10 2014 +0100
acpi/ec: Add missing delay
Without this delay on fast systems like X230 the port is read before it's updated.
Change-Id: I3e01fc348cc5170cec108a05095ba301055ed6b0 Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- src/ec/acpi/ec.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/ec/acpi/ec.c b/src/ec/acpi/ec.c index ab287d6..84e2730 100644 --- a/src/ec/acpi/ec.c +++ b/src/ec/acpi/ec.c @@ -104,6 +104,8 @@ u8 recv_ec_data(void) // return -1; }
+ udelay(10); + data = inb(ec_data_reg); printk(BIOS_SPEW, "recv_ec_data: 0x%02x\n", data);