Tony Huang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35097 )
Change subject: mb/google/octopus: Load custom SAR values by SKU ID for Bloog
......................................................................
mb/google/octopus: Load custom SAR values by SKU ID for Bloog
Use sku-id to load the SAR values.
SKU ID map
33 to 36 for Bloog
49 to 52 for Blooguard
BUG=b:138180187
BRANCH=octopus
TEST=build and verify SAR load by sku-id
Change-Id: Id0bc2609fd1c4eaeb380f8f1532ab30d34e2aeb3
Signed-off-by: Tony Huang <tony-huang(a)quanta.corp-partner.google.com>
---
M src/mainboard/google/octopus/variants/bloog/variant.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/35097/1
diff --git a/src/mainboard/google/octopus/variants/bloog/variant.c b/src/mainboard/google/octopus/variants/bloog/variant.c
index 58b3bc4..6484080 100644
--- a/src/mainboard/google/octopus/variants/bloog/variant.c
+++ b/src/mainboard/google/octopus/variants/bloog/variant.c
@@ -29,6 +29,9 @@
if (sku_id == SKU_UNKNOWN)
return NULL;
+ if (sku_id == 33 || sku_id == 34 || sku_id == 35 || sku_id == 36)
+ filename = "wifi_sar-bloog.hex";
+
if (sku_id == 49 || sku_id == 50 || sku_id == 51 || sku_id == 52)
filename = "wifi_sar-blooguard.hex";
--
To view, visit https://review.coreboot.org/c/coreboot/+/35097
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id0bc2609fd1c4eaeb380f8f1532ab30d34e2aeb3
Gerrit-Change-Number: 35097
Gerrit-PatchSet: 1
Gerrit-Owner: Tony Huang <tony-huang(a)quanta.corp-partner.google.com>
Gerrit-MessageType: newchange
EricR Lai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35235 )
Change subject: soc/intel/cannonlake: memory spd data debug
......................................................................
soc/intel/cannonlake: memory spd data debug
Add printing SPD data for debug usage.
BUG=b:139397313
BRANCH=N/A
TEST=Tested the on Hatch and checked cbmem log.
Signed-off-by: Eric Lai <ericr_lai(a)compal.corp-partner.google.com>
Change-Id: I1e257a8ea6ff9c906267841819d2a4b62a9e0b9e
---
M src/soc/intel/cannonlake/cnl_memcfg_init.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/35235/1
diff --git a/src/soc/intel/cannonlake/cnl_memcfg_init.c b/src/soc/intel/cannonlake/cnl_memcfg_init.c
index d3e5e83..5d3db76 100644
--- a/src/soc/intel/cannonlake/cnl_memcfg_init.c
+++ b/src/soc/intel/cannonlake/cnl_memcfg_init.c
@@ -81,6 +81,7 @@
default:
die("nonexistent memory slot");
}
+ print_spd_info((unsigned char *)spd_data_ptr);
}
/*
--
To view, visit https://review.coreboot.org/c/coreboot/+/35235
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1e257a8ea6ff9c906267841819d2a4b62a9e0b9e
Gerrit-Change-Number: 35235
Gerrit-PatchSet: 1
Gerrit-Owner: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-MessageType: newchange
Richard Spiegel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33759 )
Change subject: soc/amd/picasso: Create a hybrid romstage to begin in DRAM
......................................................................
Patch Set 13:
(3 comments)
Is the name hibrid_romstage going to be final? I remember some discussions about using some different name. If so, shouldn't you change file name and the commit message?>
https://review.coreboot.org/c/coreboot/+/33759/13/src/soc/amd/picasso/early…
File src/soc/amd/picasso/early_stack.S:
https://review.coreboot.org/c/coreboot/+/33759/13/src/soc/amd/picasso/early…
PS13, Line 31:
Extra space.
https://review.coreboot.org/c/coreboot/+/33759/13/src/soc/amd/picasso/early…
PS13, Line 32: * may be enabled. This could be made more elegant for more
Current limit is 96 columns, please use full new size. Same in next comment.
https://review.coreboot.org/c/coreboot/+/33759/13/src/soc/amd/picasso/hybri…
File src/soc/amd/picasso/hybrid_romstage.c:
https://review.coreboot.org/c/coreboot/+/33759/13/src/soc/amd/picasso/hybri…
PS13, Line 4: * Copyright (C) 2019 Advanced Micro Devices, Inc.
In romstage.h you placed this line after previous copyright, here you placed it before. Examining other code, it looks like placing newer copyrights after older copyrights is the norm. Please change order.
--
To view, visit https://review.coreboot.org/c/coreboot/+/33759
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id8c6175de34a0728ad41085e9c7cd310bd280976
Gerrit-Change-Number: 33759
Gerrit-PatchSet: 13
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-CC: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 05 Sep 2019 14:02:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35165 )
Change subject: cpu/intel/car: Skip stack integrity check if FSP_USES_CB_STACK is enable
......................................................................
cpu/intel/car: Skip stack integrity check if FSP_USES_CB_STACK is enable
With FSP2.1 FSP_USES_CB_STACK likely to be enable. Impacted platforms
are CML and ICL.
Don't need to run code logic to check the integrity of stack if FSP and
coreboot both likely to make use of common stack. Notified by
CONFIG_FSP_USES_CB_STACK, its expected to print
"Smashed stack detected in romstage!" msg multiple time in that case.
This patch fixes CML/ICL platform printing "Smashed stack detected in romstage!"
multiple times. This prints might be misleading.
TEST=Build and boot CML-Hatch
With this CL
No "Smashed stack detected in romstage!" msg in serial log.
Without this CL
"Smashed stack detected in romstage!" 64 times in serial log after FSP-M
returns into coreboot.
Change-Id: I943eff1225b976dc4440a6ca6d02ceea378319f8
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
---
M src/cpu/intel/car/romstage.c
1 file changed, 13 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/35165/1
diff --git a/src/cpu/intel/car/romstage.c b/src/cpu/intel/car/romstage.c
index 547b121..78b2b8d 100644
--- a/src/cpu/intel/car/romstage.c
+++ b/src/cpu/intel/car/romstage.c
@@ -54,10 +54,19 @@
mainboard_romstage_entry();
/* Check the stack. */
- for (i = 0; i < num_guards; i++) {
- if (stack_base[i] == stack_guard)
- continue;
- printk(BIOS_DEBUG, "Smashed stack detected in romstage!\n");
+ /*
+ * Don't need to run below logic to check the integrity of stack
+ * if FSP and coreboot both likely to make use of common stack.
+ * Notified by CONFIG_FSP_USES_CB_STACK, its expected to print
+ * "Smashed stack detected in romstage!" msg many times in that case.
+ */
+ if (!CONFIG(FSP_USES_CB_STACK)) {
+ for (i = 0; i < num_guards; i++) {
+ if (stack_base[i] == stack_guard)
+ continue;
+ printk(BIOS_DEBUG, "Smashed stack detected in"
+ "romstage!\n");
+ }
}
if (CONFIG(SMM_TSEG))
--
To view, visit https://review.coreboot.org/c/coreboot/+/35165
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I943eff1225b976dc4440a6ca6d02ceea378319f8
Gerrit-Change-Number: 35165
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-MessageType: newchange