the following patch was just integrated into master:
commit 53fe1f939c9f1b5ac8787c61f7c2fb285c3933fc
Author: Sven Schnelle <svens(a)stackframe.org>
Date: Tue Jan 10 14:44:12 2012 +0100
X60: fix docking
Fix ordering of power/reset/undock procedure to prevent
crashes seen with the old code. Also call dlpc_init()
only once.
Change-Id: I27d1f42e845fcccde40e6ca5af4a7762edab5d36
Signed-off-by: Sven Schnelle <svens(a)stackframe.org>
Build-Tested: build bot (Jenkins) at Tue Jan 31 17:51:59 2012, giving +1
Reviewed-By: Sven Schnelle <svens(a)stackframe.org> at Tue Jan 31 17:53:29 2012, giving +2
See http://review.coreboot.org/597 for details.
-gerrit
the following patch was just integrated into master:
commit 9829e42122d2453ae176254d0b00bcfa0f7020db
Author: Peter Stuge <peter(a)stuge.se>
Date: Fri Jan 27 22:56:25 2012 +0100
mainboard/lenovo/t60, x60: Disable CHECK_SLFRCS_ON_RESUME
This makes resume from S3 work.
Change-Id: I472baf2fbde46bfac223ce39fc81b8e09849fb7f
Signed-off-by: Peter Stuge <peter(a)stuge.se>
Build-Tested: build bot (Jenkins) at Fri Jan 27 23:19:14 2012, giving +1
Reviewed-By: Sven Schnelle <svens(a)stackframe.org> at Tue Jan 31 16:59:36 2012, giving +2
See http://review.coreboot.org/591 for details.
-gerrit
the following patch was just integrated into master:
commit faa6bebeaa2dbdacb9333d20e5a2f6f52b21a3f0
Author: Peter Stuge <peter(a)stuge.se>
Date: Fri Jan 27 22:17:09 2012 +0100
northbridge/intel/i945: CHECK_SLFRCS_ON_RESUME Kconfig option
Originally brought up by Sven Schnelle in March 2011
http://patchwork.coreboot.org/patch/2801/http://www.coreboot.org/pipermail/coreboot/2011-March/064277.html
On some mainboards it may be neccessary to reset early during resume
from S3 if the SLFRCS register indicates that a memory channel is not
guaranteed to be in self-refresh.
On other mainboards, such as Lenovo X60 and T60, the check always
creates false positives, effectively making it impossible to resume.
The SLFRCS register is documented on page 197 of
Mobile Intel® 945 Express Chipset Family Datasheet
Document Number: 309219-006
which is publically available, and the register indicates if a memory
channel is guaranteed to be in self-refresh mode (if bit = 1), or that
a memory channel *may or may not be* in self-refresh mode (if bit = 0).
The register can thus only be used to positively learn that memory is
in self-refresh. It is not known for sure that memory is *not* in
self-refresh. The register is reset by the PWROK signal, which *should*
go low during S3, and go high again when resuming, so it is unsurprising
that SLFRCS has already been cleared when we read the register.
Sven's measurements of the CKE signal on a ThinkPad shows that memory
remains in self-refresh indefinitely, until coreboot re-initializes the
memory controller, even when SLFRCS bits were = 0.
Boards which require a warm reset when SLFRCS bits are cleared must now
explicitly enable the check in the mainboard Kconfig file.
This commit selects the new option in all existing i945 mainboards.
A follow-up commit will remove the option for ThinkPads.
Change-Id: I02320675efb8fde05c371ef243ba5093a4da6d11
Signed-off-by: Peter Stuge <peter(a)stuge.se>
Build-Tested: build bot (Jenkins) at Fri Jan 27 23:33:41 2012, giving +1
Reviewed-By: Sven Schnelle <svens(a)stackframe.org> at Tue Jan 31 14:52:14 2012, giving +2
See http://review.coreboot.org/590 for details.
-gerrit
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/594
-gerrit
commit 595df777bfaf2fc07a394233a6e770737b78806e
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Tue Jan 31 14:42:47 2012 +0100
libpayload: Force checking all EHCI ports on power-on
EHCI port status reporting isn't very consistent on power-on,
so just looking for devices on all ports is the safest way to
find everything.
Change-Id: I26b4305016f0bed1d2c1b5cffc59d5813fa1cbbb
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
---
payloads/libpayload/drivers/usb/ehci_rh.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/payloads/libpayload/drivers/usb/ehci_rh.c b/payloads/libpayload/drivers/usb/ehci_rh.c
index d9ba8e4..1d41f3f 100644
--- a/payloads/libpayload/drivers/usb/ehci_rh.c
+++ b/payloads/libpayload/drivers/usb/ehci_rh.c
@@ -147,6 +147,7 @@ ehci_rh_init (usbdev_t *dev)
p = &(RH_INST(dev)->ports[i]);
RH_INST(dev)->devices[i] = -1;
*p |= P_PP;
+ ehci_rh_scanport(dev, i);
}
dev->address = 0;