Sridhar Siricilla has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/41972 )
Change subject: soc/intel/common: Replace cse_bp with cse_lite in all console logs
......................................................................
soc/intel/common: Replace cse_bp with cse_lite in all console logs
Replace cse_bp with cse_lite in all serial console logs in the cse_lite.c
TEST=Verified on hatch
Signed-off-by: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Change-Id: I3fc677c9ec1962199c91cc310d7695dded4e0ba0
---
M src/soc/intel/common/block/cse/cse_lite.c
1 file changed, 14 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/41972/1
diff --git a/src/soc/intel/common/block/cse/cse_lite.c b/src/soc/intel/common/block/cse/cse_lite.c
index 1f9e2ce..6372248 100644
--- a/src/soc/intel/common/block/cse/cse_lite.c
+++ b/src/soc/intel/common/block/cse/cse_lite.c
@@ -222,19 +222,19 @@
};
if (!cse_is_bp_cmd_info_possible()) {
- printk(BIOS_ERR, "cse_bp: CSE does not meet prerequisites\n");
+ printk(BIOS_ERR, "cse_lite: CSE does not meet prerequisites\n");
return false;
}
size_t resp_size = sizeof(struct get_bp_info_rsp);
if (!heci_send_receive(&info_req, sizeof(info_req), bp_info_rsp, &resp_size)) {
- printk(BIOS_ERR, "cse_bp: Could not get partition info\n");
+ printk(BIOS_ERR, "cse_lite: Could not get partition info\n");
return false;
}
if (bp_info_rsp->hdr.result) {
- printk(BIOS_ERR, "cse_bp: Get partition info resp failed: %d\n",
+ printk(BIOS_ERR, "cse_lite: Get partition info resp failed: %d\n",
bp_info_rsp->hdr.result);
return false;
}
@@ -266,14 +266,14 @@
};
if (bp != RO && bp != RW) {
- printk(BIOS_ERR, "cse_bp: Incorrect partition id(%d) is provided", bp);
+ printk(BIOS_ERR, "cse_lite: Incorrect partition id(%d) is provided", bp);
return false;
}
- printk(BIOS_INFO, "cse_bp: Set Boot Partition Info Command (%s)\n", GET_BP_STR(bp));
+ printk(BIOS_INFO, "cse_lite: Set Boot Partition Info Command (%s)\n", GET_BP_STR(bp));
if (!cse_is_bp_cmd_info_possible()) {
- printk(BIOS_ERR, "cse_bp: CSE does not meet prerequisites\n");
+ printk(BIOS_ERR, "cse_lite: CSE does not meet prerequisites\n");
return false;
}
@@ -284,7 +284,7 @@
return false;
if (switch_resp.result) {
- printk(BIOS_ERR, "cse_bp: Set Boot Partition Info Response Failed: %d\n",
+ printk(BIOS_ERR, "cse_lite: Set Boot Partition Info Response Failed: %d\n",
switch_resp.result);
return false;
}
@@ -302,7 +302,7 @@
do_global_reset();
- die("cse_bp: Failed to reset system\n");
+ die("cse_lite: Failed to reset system\n");
/* Control never reaches here */
return false;
@@ -317,7 +317,7 @@
if (rw_bp->status == BP_STATUS_PARTITION_NOT_PRESENT ||
rw_bp->status == BP_STATUS_GENERAL_FAILURE) {
- printk(BIOS_ERR, "cse_bp: RW BP (status:%u) is not valid\n", rw_bp->status);
+ printk(BIOS_ERR, "cse_lite: RW BP (status:%u) is not valid\n", rw_bp->status);
return false;
}
return true;
@@ -333,28 +333,28 @@
static struct get_bp_info_rsp cse_bp_info;
if (vboot_recovery_mode_enabled()) {
- printk(BIOS_DEBUG, "cse_bp: Skip switching to RW in the recovery path\n");
+ printk(BIOS_DEBUG, "cse_lite: Skip switching to RW in the recovery path\n");
return;
}
/* If CSE SKU type is not Lite, skip enabling CSE Lite SKU */
if (!cse_is_hfs3_fw_sku_lite()) {
- printk(BIOS_ERR, "cse_bp: Not a CSE Lite SKU\n");
+ printk(BIOS_ERR, "cse_lite: Not a CSE Lite SKU\n");
return;
}
if (!cse_get_bp_info(&cse_bp_info)) {
- printk(BIOS_ERR, "cse_bp: Failed to get CSE boot partition info\n");
+ printk(BIOS_ERR, "cse_lite: Failed to get CSE boot partition info\n");
cse_trigger_recovery(CSE_LITE_SKU_COMMUNICATION_ERROR);
}
if (!cse_is_rw_info_valid(&cse_bp_info.bp_info)) {
- printk(BIOS_ERR, "cse_bp: CSE RW partition is not valid\n");
+ printk(BIOS_ERR, "cse_lite: CSE RW partition is not valid\n");
cse_trigger_recovery(CSE_LITE_SKU_RW_JUMP_ERROR);
}
if (!cse_boot_to_rw(&cse_bp_info.bp_info)) {
- printk(BIOS_ERR, "cse_bp: Failed to switch to RW\n");
+ printk(BIOS_ERR, "cse_lite: Failed to switch to RW\n");
cse_trigger_recovery(CSE_LITE_SKU_RW_SWITCH_ERROR);
}
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/41972
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3fc677c9ec1962199c91cc310d7695dded4e0ba0
Gerrit-Change-Number: 41972
Gerrit-PatchSet: 1
Gerrit-Owner: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange
Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42109 )
Change subject: drivers/intel/fsp2_0: Allow SoC/mainboard to update NvsBufferPtr
......................................................................
drivers/intel/fsp2_0: Allow SoC/mainboard to update NvsBufferPtr
This change moves the check for NvsBufferPtr in S3 resume case to
happen just before FSP-M is called. This allows SoC/mainboard code to
set NvsBufferPtr if it doesn't use the default MRC cache driver.
BUG=b:155990176
Change-Id: Ia272573ad7117a0cb851f0bfe6a4c7989bc64cde
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
---
M src/drivers/intel/fsp2_0/memory_init.c
1 file changed, 10 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/09/42109/1
diff --git a/src/drivers/intel/fsp2_0/memory_init.c b/src/drivers/intel/fsp2_0/memory_init.c
index d90b181..7f5d389 100644
--- a/src/drivers/intel/fsp2_0/memory_init.c
+++ b/src/drivers/intel/fsp2_0/memory_init.c
@@ -196,15 +196,6 @@
/* Configure bootmode */
if (s3wake) {
- /*
- * For S3 resume case, if valid mrc cache data is not found or
- * RECOVERY_MRC_CACHE hash verification fails, the S3 data
- * pointer would be null and S3 resume fails with fsp-m
- * returning error. Invoking a reset here saves time.
- */
- if (!arch_upd->NvsBufferPtr)
- /* FIXME: A "system" reset is likely enough: */
- full_reset();
arch_upd->BootMode = FSP_BOOT_ON_S3_RESUME;
} else {
if (arch_upd->NvsBufferPtr)
@@ -296,6 +287,16 @@
/* Give SoC and mainboard a chance to update the UPD */
platform_fsp_memory_init_params_cb(&fspm_upd, fsp_version);
+ /*
+ * For S3 resume case, if valid mrc cache data is not found or
+ * RECOVERY_MRC_CACHE hash verification fails, the S3 data
+ * pointer would be null and S3 resume fails with fsp-m
+ * returning error. Invoking a reset here saves time.
+ */
+ if (s3wake && !arch_upd->NvsBufferPtr)
+ /* FIXME: A "system" reset is likely enough: */
+ full_reset();
+
if (CONFIG(MMA))
setup_mma(&fspm_upd.FspmConfig);
--
To view, visit https://review.coreboot.org/c/coreboot/+/42109
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia272573ad7117a0cb851f0bfe6a4c7989bc64cde
Gerrit-Change-Number: 42109
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: newchange
Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42092 )
Change subject: Documentation: Add section about SPD tools for TGL and JSL
......................................................................
Documentation: Add section about SPD tools for TGL and JSL
CB:41612 added a new set of tools for generating SPDs for TGL and JSL
based mainboards. This change adds relevant documentation to
coreboot-4.13 release notes.
Change-Id: I168adad25df9195dec64e8104f2dbe992eebddc6
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
---
M Documentation/releases/coreboot-4.13-relnotes.md
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/42092/1
diff --git a/Documentation/releases/coreboot-4.13-relnotes.md b/Documentation/releases/coreboot-4.13-relnotes.md
index 1d8839f..046e4e6 100644
--- a/Documentation/releases/coreboot-4.13-relnotes.md
+++ b/Documentation/releases/coreboot-4.13-relnotes.md
@@ -28,4 +28,15 @@
that its resources can be placed in a more natural location. This also adds the
ability for the device to participate in SSDT generation.
+### Tools for generating SPDs for LP4x memory on TGL and JSL
+
+A set of new tools `gen_spd.go` and `gen_part_id.go` are added to automate the
+process of generating SPDs for LP4x memory and assigning hardware strap IDs for
+memory parts used on TGL and JSL based boards. The SPD data obtained from memory
+part vendors has to be massaged to format it correctly as per JEDEC and Intel MRC
+expectations. These tools take a list of memory parts describing their physical
+attributes as per their datasheet and convert those attributes into SPD files for
+the platforms. More details about the tools are added in
+[README.md](../../util/spd_tools/intel/lp4x/README.md).
+
### Add significant changes here
--
To view, visit https://review.coreboot.org/c/coreboot/+/42092
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I168adad25df9195dec64e8104f2dbe992eebddc6
Gerrit-Change-Number: 42092
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: newchange
Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42200 )
Change subject: soc/intel/cannonlake: Put braces around *else* branch
......................................................................
soc/intel/cannonlake: Put braces around *else* branch
From `Documentation/coding_style.md`:
> This does not apply if only one branch of a conditional statement is a
> single statement; in the latter case use braces in both branches:
Change-Id: I5672949e587a9c0e4efa01521a659e4c224085d0
Signed-off-by: Paul Menzel <pmenzel(a)molgen.mpg.de>
---
M src/soc/intel/cannonlake/acpi.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/42200/1
diff --git a/src/soc/intel/cannonlake/acpi.c b/src/soc/intel/cannonlake/acpi.c
index 886cba2..1c25f1a 100644
--- a/src/soc/intel/cannonlake/acpi.c
+++ b/src/soc/intel/cannonlake/acpi.c
@@ -203,8 +203,9 @@
if (CONFIG(EC_GOOGLE_CHROMEEC)) {
gnvs->chromeos.vbt2 = google_ec_running_ro() ?
ACTIVE_ECFW_RO : ACTIVE_ECFW_RW;
- } else
+ } else {
gnvs->chromeos.vbt2 = ACTIVE_ECFW_RO;
+ }
}
/* Enable DPTF based on mainboard configuration */
--
To view, visit https://review.coreboot.org/c/coreboot/+/42200
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5672949e587a9c0e4efa01521a659e4c224085d0
Gerrit-Change-Number: 42200
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange