Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45607 )
Change subject: util/abuild/abuild: Do not check out submodules
......................................................................
util/abuild/abuild: Do not check out submodules
This force-downloads the qc_blobs repository, whose license is then
automatically accepted. This may also cause race conditions with git.
Change-Id: Id760172289abbe4d5ad5f230c9f1d3e1ab3908ec
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M util/abuild/abuild
1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/45607/1
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 7561495..2ba2f72 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -794,8 +794,6 @@
echo | xargs -P ${cpus:-0} -n 1 echo 2>/dev/null >/dev/null && USE_XARGS=1
fi
-git submodule update --checkout --init
-
if [ "$USE_XARGS" = "0" ]; then
test "$MAKEFLAGS" == "" && test "$cpus" != "" && export MAKEFLAGS="-j $cpus"
export MAKEFLAGS="$MAKEFLAGS UPDATED_SUBMODULES=1" # no need to re-download
--
To view, visit https://review.coreboot.org/c/coreboot/+/45607
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id760172289abbe4d5ad5f230c9f1d3e1ab3908ec
Gerrit-Change-Number: 45607
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: newchange
Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33742
Change subject: Documentation: Fix spelling of *assumptions*
......................................................................
Documentation: Fix spelling of *assumptions*
Change-Id: I36e0e713647cfc0d25e6b4ead81aa212be530afb
Signed-off-by: Paul Menzel <pmenzel(a)molgen.mpg.de>
---
M Documentation/arch/x86/index.md
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/33742/1
diff --git a/Documentation/arch/x86/index.md b/Documentation/arch/x86/index.md
index 0d8acf1..b4ad5c8 100644
--- a/Documentation/arch/x86/index.md
+++ b/Documentation/arch/x86/index.md
@@ -17,7 +17,7 @@
The following features enhance x86_64 support:
* The CPU supports 1GiB hugepages
-## Assuptions for ARCH_ROMSTAGE_X86_64 reference implementation
+## Assumptions for ARCH_ROMSTAGE_X86_64 reference implementation
* 0-4GiB are identity mapped as WB
* Memory above 4GiB isn't accessible
* pagetables reside in CAR area `_pagetables`
@@ -38,7 +38,7 @@
* 0-4GiB are identity mapped as WB
* page tables reside in heap
-## Assuptions for ARCH_RAMSTAGE_X86_64 reference implementation
+## Assumptions for ARCH_RAMSTAGE_X86_64 reference implementation
* pagetable are stored in fixed size heap area, initialized by assembly code
* Memory above 4GiB is not accessible
--
To view, visit https://review.coreboot.org/c/coreboot/+/33742
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I36e0e713647cfc0d25e6b4ead81aa212be530afb
Gerrit-Change-Number: 33742
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newchange
Hello Michael Niewöhner, Patrick Rudolph,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/41784
to review the following change.
Change subject: util/supermicro: Always include commonlib/bsd/compiler.h
......................................................................
util/supermicro: Always include commonlib/bsd/compiler.h
We rely on `compiler.h` for definitions like `__packed`. Without it,
`smcbiosinfo.c` simply declared a global struct with that name, but
nothing was packed.
Change-Id: Ide055317115fc374a63812bcd3791445ca4f2dcc
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M util/supermicro/Makefile.inc
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/41784/1
diff --git a/util/supermicro/Makefile.inc b/util/supermicro/Makefile.inc
index 1aa5bcb..316cb48 100644
--- a/util/supermicro/Makefile.inc
+++ b/util/supermicro/Makefile.inc
@@ -1,9 +1,11 @@
+TOOLCPPFLAGS += -include $(top)/src/commonlib/bsd/include/commonlib/bsd/compiler.h
+
SMCBIOSINFOTOOL:= $(objutil)/supermicro/smcbiosinfo
$(SMCBIOSINFOTOOL): $(dir)/smcbiosinfo/smcbiosinfo.c
printf " HOSTCC Creating SMCBIOSINFO tool\n"
mkdir -p $(objutil)/supermicro
- $(HOSTCC) $< -o $@
+ $(HOSTCC) $(TOOLCPPFLAGS) $< -o $@
ifeq ($(CONFIG_VENDOR_SUPERMICRO),y)
ifneq ($(call strip_quotes, $(CONFIG_SUPERMICRO_BOARDID)),)
--
To view, visit https://review.coreboot.org/c/coreboot/+/41784
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ide055317115fc374a63812bcd3791445ca4f2dcc
Gerrit-Change-Number: 41784
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange
Hello Jes Klinke,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/46436
to review the following change.
Change subject: volteer+vendorcode: Cr50 version code only via SPI
......................................................................
volteer+vendorcode: Cr50 version code only via SPI
No recent Chromebooks have used I2C for TPM communication, and as a result, a
bug has crept in. The ability to extract Cr50 firmware string is only
supported via SPI, yet code in mainboard and vendorcode attempts to do so
unconditionally.
This CL makes it such that the code also compiles in case future designs will
use I2C. (Whether we want to enhance the I2C protocol to be able to provide
the version string, and then implement the support is a separate question.)
This effort is prompted by the desire to use reworked Volteer EVT devices for
validating the new Ti50/Dauntless TPM, which will be connected via I2C in the
upcoming designs.
TEST=util/abuild/abuild -t GOOGLE_VOLTEER -c max -x
Change-Id: Ida1d732e486b19bdff6d95062a3ac1a7c4b58b45
Signed-off-by: jbk(a)chromium.org
---
M src/mainboard/google/volteer/mainboard.c
M src/vendorcode/google/chromeos/cse_board_reset.c
2 files changed, 21 insertions(+), 17 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/46436/1
diff --git a/src/mainboard/google/volteer/mainboard.c b/src/mainboard/google/volteer/mainboard.c
index 1fcd5eb..1abb636 100644
--- a/src/mainboard/google/volteer/mainboard.c
+++ b/src/mainboard/google/volteer/mainboard.c
@@ -51,7 +51,8 @@
return;
}
- if (cr50_is_long_interrupt_pulse_enabled()) {
+ if (CONFIG(MAINBOARD_HAS_SPI_TPM_CR50)
+ && cr50_is_long_interrupt_pulse_enabled()) {
printk(BIOS_INFO, "Enabling S0i3.4\n");
} else {
/*
diff --git a/src/vendorcode/google/chromeos/cse_board_reset.c b/src/vendorcode/google/chromeos/cse_board_reset.c
index 65e09ae..0b213a6 100644
--- a/src/vendorcode/google/chromeos/cse_board_reset.c
+++ b/src/vendorcode/google/chromeos/cse_board_reset.c
@@ -16,24 +16,27 @@
int ret;
struct cr50_firmware_version version;
- /* Initialize TPM and get the cr50 firmware version. */
- ret = tlcl_lib_init();
- if (ret != VB2_SUCCESS) {
- printk(BIOS_ERR, "tlcl_lib_init() failed: 0x%x\n", ret);
- return;
+ if (CONFIG(MAINBOARD_HAS_SPI_TPM_CR50)) {
+ /* Initialize TPM and get the cr50 firmware version. */
+ ret = tlcl_lib_init();
+ if (ret != VB2_SUCCESS) {
+ printk(BIOS_ERR, "tlcl_lib_init() failed: 0x%x\n", ret);
+ return;
+ }
+
+ cr50_get_firmware_version(&version);
+
+ /*
+ * Cr50 firmware versions 0.[3|4].20 or newer support strap
+ * config 0xe where PLTRST from AP is connected to cr50's
+ * PLTRST# signal. So return immediately and trigger a global
+ * reset.
+ */
+ if (version.epoch != 0 || version.major > 4 ||
+ (version.major >= 3 && version.minor >= 20))
+ return;
}
- cr50_get_firmware_version(&version);
-
- /*
- * Cr50 firmware versions 0.[3|4].20 or newer support strap config 0xe where PLTRST from
- * AP is connected to cr50's PLTRST# signal. So return immediately and trigger a
- * global reset.
- */
- if (version.epoch != 0 || version.major > 4 ||
- (version.major >= 3 && version.minor >= 20))
- return;
-
printk(BIOS_INFO, "Initiating request to EC to trigger cold reset\n");
/*
* Clean the data cache and set the full reset bit, so that when EC toggles
--
To view, visit https://review.coreboot.org/c/coreboot/+/46436
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ida1d732e486b19bdff6d95062a3ac1a7c4b58b45
Gerrit-Change-Number: 46436
Gerrit-PatchSet: 1
Gerrit-Owner: Jes Klinke <jbk(a)chromium.org>
Gerrit-Reviewer: Jes Klinke <jbk(a)google.com>
Gerrit-MessageType: newchange
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/45006 )
Change subject: soc/intel/skylake: Do not let FSP set the subsystem IDs
......................................................................
soc/intel/skylake: Do not let FSP set the subsystem IDs
The subsystem ID registers are read/write-once. Writes by coreboot will
not take effect if FSP sets them.
Note that FSP sets one device ID for the SA devices and another for PCH
devices. coreboot will copy individual vendor and device IDs if
subsystem is not provided.
Change-Id: I9157fb69f2a49dfc08f049da4b39fbf86614ace3
Signed-off-by: Benjamin Doron <benjamin.doron00(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45006
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Nico Huber <nico.h(a)gmx.de>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/soc/intel/skylake/chip.c
1 file changed, 5 insertions(+), 10 deletions(-)
Approvals:
build bot (Jenkins): Verified
Nico Huber: Looks good to me, approved
Angel Pons: Looks good to me, approved
diff --git a/src/soc/intel/skylake/chip.c b/src/soc/intel/skylake/chip.c
index 549f403..89eaef5 100644
--- a/src/soc/intel/skylake/chip.c
+++ b/src/soc/intel/skylake/chip.c
@@ -320,16 +320,11 @@
*/
params->SpiFlashCfgLockDown = 0;
}
- /* only replacing preexisting subsys ID defaults when non-zero */
- if (CONFIG_SUBSYSTEM_VENDOR_ID != 0) {
- params->DefaultSvid = CONFIG_SUBSYSTEM_VENDOR_ID;
- params->PchSubSystemVendorId = CONFIG_SUBSYSTEM_VENDOR_ID;
- }
-
- if (CONFIG_SUBSYSTEM_DEVICE_ID != 0) {
- params->DefaultSid = CONFIG_SUBSYSTEM_DEVICE_ID;
- params->PchSubSystemId = CONFIG_SUBSYSTEM_DEVICE_ID;
- }
+ /* FSP should let coreboot set subsystem IDs, which are read/write-once */
+ params->DefaultSvid = 0;
+ params->PchSubSystemVendorId = 0;
+ params->DefaultSid = 0;
+ params->PchSubSystemId = 0;
params->PchPmWolEnableOverride = config->WakeConfigWolEnableOverride;
params->PchPmPcieWakeFromDeepSx = config->WakeConfigPcieWakeFromDeepSx;
--
To view, visit https://review.coreboot.org/c/coreboot/+/45006
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9157fb69f2a49dfc08f049da4b39fbf86614ace3
Gerrit-Change-Number: 45006
Gerrit-PatchSet: 5
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: merged