Arthur Heymans (arthur(a)aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18059
-gerrit
commit ab2003f34c737ac787c73d8b23acd5d56ffae934
Author: Arthur Heymans <arthur(a)aheymans.xyz>
Date: Sun Jan 8 21:55:13 2017 +0100
mb/lenovo/t400: Increase MAX_CPUS to 4
The Lenovo T400 has a CPU socket that can fit quad cores.
Change-Id: I585775ac9510cc7d2c2d731531f536c1a56b81e8
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
src/mainboard/lenovo/t400/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig
index 47e7688..2078a27 100644
--- a/src/mainboard/lenovo/t400/Kconfig
+++ b/src/mainboard/lenovo/t400/Kconfig
@@ -46,7 +46,7 @@ config USBDEBUG_HCD_INDEX
config MAX_CPUS
int
- default 2
+ default 4
config CBFS_SIZE
hex
HAOUAS Elyes (ehaouas(a)noos.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18056
-gerrit
commit 3e945a7b2e44985a34ac12f614d8a69fe2214eaa
Author: Elyes HAOUAS <ehaouas(a)noos.fr>
Date: Sun Jan 8 11:17:17 2017 +0100
src/cpu/intel/speedstep/acpi.c: Add "FIXME" comment
MSR(0x2c) provides information about FSB frequency
for Pentium 4.
Change-Id: I2ba6c446f77184e6dbabd4194a3dd2fdd665b056
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
src/cpu/intel/speedstep/acpi.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c
index d85e487..b1125b8 100644
--- a/src/cpu/intel/speedstep/acpi.c
+++ b/src/cpu/intel/speedstep/acpi.c
@@ -49,6 +49,11 @@ static int determine_total_number_of_cores(void)
*/
static int get_fsb(void)
{
+
+ /* FIXME: we probably need to detect the CPU and
+ * read the right MSR register to have the right FSB.
+ * Example: for Pentium 4 we should read MSR at 0x2c
+ */
const u32 fsbcode = rdmsr(MSR_FSB_FREQ).lo & 7;
switch (fsbcode) {
case 0: return 800; /* / 3 == 266 */
Swift Geek (swiftgeek(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18050
-gerrit
commit 482a7cde7bf22e5b678be107240bf2375f59ce2a
Author: Sebastian 'Swift Geek' Grzywna <swiftgeek(a)gmail.com>
Date: Sun Jan 8 03:42:30 2017 +0100
util/autoport: Fix gfx dump of log_maker
Variable name of inteltoolArgs was fixed.
The way of passing arguments to inteltool was changed from "-a -f"
to "-af" which is better as the string seems to be parsed
as a single argument.
Change-Id: I0c48fb1e912261748ba9e2b91c291bac28b9e856
Signed-off-by: Sebastian 'Swift Geek' Grzywna <swiftgeek(a)gmail.com>
---
util/autoport/log_maker.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/autoport/log_maker.go b/util/autoport/log_maker.go
index 50e0e65..7c8240e 100644
--- a/util/autoport/log_maker.go
+++ b/util/autoport/log_maker.go
@@ -89,7 +89,7 @@ func MakeLogs(outDir string) {
switch opt {
case "y", "yes":
- opt += " -f"
+ inteltoolArgs += "f"
}
RunAndSave(outDir+"/inteltool.log", "../inteltool/inteltool", inteltoolArgs)
Patrick Rudolph (siro(a)das-labor.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18055
-gerrit
commit 950a72f0b5d40d5d167e59b702693b8c6b3ba013
Author: Patrick Rudolph <siro(a)das-labor.org>
Date: Sun Jan 8 09:57:47 2017 +0100
util/ifdtool: Fix ICH Gbe unlock
With coreboot 4.4 switched to "Descriptor mode" for Lenovo T500
it automatically unlocks all flash regions. For Gbe region
the "Requester ID" was hardcoded resulting in *dead* Gbe.
Unlock the Gbe region and keep board specific "Requester ID".
Allows Lenovo T500 to boot in "Descriptor mode" with unlocked
flash regions.
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
Change-Id: Ia4b5d1928e84bee42182fc83020e3a13fadc93c4
---
util/ifdtool/ifdtool.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c
index 45dd97c..0c49e40 100644
--- a/util/ifdtool/ifdtool.c
+++ b/util/ifdtool/ifdtool.c
@@ -876,7 +876,8 @@ static void unlock_descriptor(char *filename, char *image, int size)
} else {
fmba->flmstr1 = 0xffff0000;
fmba->flmstr2 = 0xffff0000;
- fmba->flmstr3 = 0x08080118;
+ /* Keep board specific Requester ID */
+ fmba->flmstr3 = 0x08080000 | (fmba->flmstr3 & 0xffff);
}
write_image(filename, image, size);