the following patch was just integrated into master: commit 92dd172a573a7eff4774030fdfe5eb9625d59aa0 Author: Martin Roth martin@se-eng.com Date: Tue Jan 8 13:36:14 2013 -0700
Fix 2 infinite loops if IMC doesn't respond
ACPI code: The ACPI code is not currently being compiled in by default, but assuming that it will be at some point, I'm fixing the loop that waits for the IMC to respond after sending it a command. The loop now exits after 500ms, similar to the function in agesa.
Agesa Code: a 16 bit variable will always be less than 100000. Change to be a 32 bit variable.
Change-Id: I9430ef900a22d056871b744f3b1511abdfea516e Signed-off-by: Martin Roth martin@se-eng.com Reviewed-on: http://review.coreboot.org/2119 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi patrick@georgi-clan.de Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org
Reviewed-By: Patrick Georgi patrick@georgi-clan.de at Wed Jan 9 20:55:23 2013, giving +2 Build-Tested: build bot (Jenkins) at Wed Jan 9 19:27:00 2013, giving +1 Reviewed-By: Stefan Reinauer stefan.reinauer@coreboot.org at Thu Jan 10 02:04:17 2013, giving +2 See http://review.coreboot.org/2119 for details.
-gerrit