Sridhar Siricilla has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43766 )
Change subject: security/vboot/Makefile.inc: Update regions-for-file function
......................................................................
security/vboot/Makefile.inc: Update regions-for-file function
This patch updates regions-for-file function in the
security/vboot/Makefile.inc to support addition of a CBFS file into
required FMAP REGIONs in a flexible manner. The file that needs to be
added to specific REGIONs, those regions list should be specified in the
regions-for-file-{CBFS_FILE_TO_BE_ADDED} variable.
For example, if a file foo.bin needs to be added in FW_MAIN_B and COREBOOT,
then below code needs to be added in a Makefile.inc.
regions-for-file-foo := FW_MAIN_B,COREBOOT
cbfs-file-y := foo
foo-file := foo.bin
foo-type := raw
TEST=Verified on hatch
Signed-off-by: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Change-Id: I1f5c22b3d9558ee3c5daa2781a115964f8d2d83b
---
M src/security/vboot/Makefile.inc
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/43766/1
diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc
index 90b2756..fe8e90b 100644
--- a/src/security/vboot/Makefile.inc
+++ b/src/security/vboot/Makefile.inc
@@ -171,6 +171,8 @@
# All other files will be installed into RO and RW regions
# Use $(sort) to cut down on extra spaces that would be translated to commas
regions-for-file = $(subst $(spc),$(comma),$(sort \
+ $(if $(value regions-for-file-$(1)), \
+ $(regions-for-file-$(1)), \
$(if $(filter \
$(if $(filter y,$(CONFIG_VBOOT_STARTS_IN_ROMSTAGE)), \
%/romstage,) \
@@ -194,7 +196,7 @@
$(if $(filter \
$(call strip_quotes,$(CONFIG_RW_REGION_ONLY)) \
,$(1)), $(RW_PARTITIONS), $(VBOOT_PARTITIONS) ) \
- )))))
+ ))))))
CONFIG_GBB_HWID := $(call strip_quotes,$(CONFIG_GBB_HWID))
CONFIG_GBB_BMPFV_FILE := $(call strip_quotes,$(CONFIG_GBB_BMPFV_FILE))
--
To view, visit https://review.coreboot.org/c/coreboot/+/43766
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1f5c22b3d9558ee3c5daa2781a115964f8d2d83b
Gerrit-Change-Number: 43766
Gerrit-PatchSet: 1
Gerrit-Owner: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
Hello build bot (Jenkins), Patrick Georgi, Martin Roth, Angel Pons, Julius Werner, Werner Zeh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43604
to look at the new patch set (#10).
Change subject: lib: Add ASan support to romstage on x86 arch
......................................................................
lib: Add ASan support to romstage on x86 arch
This patch adds ASan support to romstage on x86 architecture.
A Kconfig option is added to enable ASan in romstage. Compiler
flags are updated. A memory space representing the shadow region
is reserved in linker section. And a function call to asan_init()
is added to initialize shadow region when romstage loads.
Change-Id: I67ebfb5e8d602e865b1f5c874860861ae4e54381
Signed-off-by: Harshit Sharma <harshitsharmajs(a)gmail.com>
---
M src/Kconfig
M src/arch/x86/assembly_entry.S
M src/arch/x86/car.ld
M src/include/symbols.h
M src/lib/Makefile.inc
M src/lib/asan.c
6 files changed, 66 insertions(+), 10 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/43604/10
--
To view, visit https://review.coreboot.org/c/coreboot/+/43604
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I67ebfb5e8d602e865b1f5c874860861ae4e54381
Gerrit-Change-Number: 43604
Gerrit-PatchSet: 10
Gerrit-Owner: Harshit Sharma <harshitsharmajs(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44425 )
Change subject: mb/google/zork: Update PICASSO_FW_*_POSITION to match new layout
......................................................................
mb/google/zork: Update PICASSO_FW_*_POSITION to match new layout
CB:44362 ("mb/google/zork: Reorganize chromeos.fmd to increase WP_RO
to 8MiB") updated the flash layout which moved RW_SECTION_A and
RW_SECTION_B to different addresses than before. PICASSO_FW_A_POSITION
and PICASSO_FW_B_POSITION configs need to be updated accordingly to
retain the same behavior as before i.e. amdfw_a/b are placed at the
start of FW_MAIN_A/B by placing them right after the CBFS header.
This change fixes the value of PICASSO_FW_A_POSITION and
PICASSO_FW_B_POSITION to maintain amdfw at the start of RW-A/B CBFS.
BUG=b:161949925
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
Change-Id: I177fb38af6380c36397d2a72d5ec00965087d528
---
M src/mainboard/google/zork/Kconfig
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/44425/1
diff --git a/src/mainboard/google/zork/Kconfig b/src/mainboard/google/zork/Kconfig
index bf2fe2e..1e1b790 100644
--- a/src/mainboard/google/zork/Kconfig
+++ b/src/mainboard/google/zork/Kconfig
@@ -129,7 +129,7 @@
config PICASSO_FW_A_POSITION
hex
- default 0xFF031040
+ default 0xFF012040
depends on VBOOT_SLOTS_RW_AB && VBOOT_STARTS_BEFORE_BOOTBLOCK
help
Location of the AMD firmware in the RW_A region. This is the
@@ -137,7 +137,7 @@
config PICASSO_FW_B_POSITION
hex
- default 0xFF3CF040
+ default 0xFF312040
depends on VBOOT_SLOTS_RW_AB && VBOOT_STARTS_BEFORE_BOOTBLOCK
help
Location of the AMD firmware in the RW_B region. This is the
--
To view, visit https://review.coreboot.org/c/coreboot/+/44425
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I177fb38af6380c36397d2a72d5ec00965087d528
Gerrit-Change-Number: 44425
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: newchange
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44430 )
Change subject: cse_lite: Move global reset after MRC writeback.
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
https://review.coreboot.org/c/coreboot/+/44430/1/src/soc/intel/common/block…
File src/soc/intel/common/block/cse/cse_lite.c:
https://review.coreboot.org/c/coreboot/+/44430/1/src/soc/intel/common/block…
PS1, Line 657: #if CONFIG(SOC_INTEL_TIGERLAKE)
It would be helpful to have a comment here explaining why this particular phase was chosen for Tigerlake. Once the MRC cache write is moved to happen early, this can be revisited.
--
To view, visit https://review.coreboot.org/c/coreboot/+/44430
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia42d72fdec41f9792ab8f04205b20a55758a4235
Gerrit-Change-Number: 44430
Gerrit-PatchSet: 1
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 13 Aug 2020 03:32:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44403 )
Change subject: mb/google/zork: Disable ACP I2S wake for schematic version 3.6+
......................................................................
mb/google/zork: Disable ACP I2S wake for schematic version 3.6+
Starting with v3.6 of reference schematics, headphone jack interrupt
is moved to a standard GPIO instead of using CODEC_GPI. Thus, we no
longer need I2S wake to be enabled in the ACP for boards using v3.6+
version of schematics.
This change sets `acp_i2s_wake_enable` and `acp_pme_enable` to default
0 in baseboard devicetrees and overrides to 1 in update_hp_int_odl()
if the board is still using older version of reference schematics.
BUG=b:159934887
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
Change-Id: I44b40db95b5148fe483c7340c5bd0d58627970a7
---
M src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
M src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
M src/mainboard/google/zork/variants/baseboard/ramstage_common.c
3 files changed, 12 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/44403/1
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
index c60373b..dbb9266 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
@@ -13,8 +13,8 @@
ACPI_FADT_REMOTE_POWER_ON"
register "acp_pin_cfg" = "I2S_PINS_I2S_TDM"
- register "acp_i2s_wake_enable" = "1"
- register "acpi_pme_enable" = "1"
+ register "acp_i2s_wake_enable" = "0"
+ register "acpi_pme_enable" = "0"
# Start : OPN Performance Configuration
# (Configuratin that is common for all variants)
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb b/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
index 6d26179..cb5c87a 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
@@ -13,8 +13,8 @@
ACPI_FADT_REMOTE_POWER_ON"
register "acp_pin_cfg" = "I2S_PINS_I2S_TDM"
- register "acp_i2s_wake_enable" = "1"
- register "acpi_pme_enable" = "1"
+ register "acp_i2s_wake_enable" = "0"
+ register "acpi_pme_enable" = "0"
# Start : OPN Performance Configuration
# (Configuratin that is common for all variants)
diff --git a/src/mainboard/google/zork/variants/baseboard/ramstage_common.c b/src/mainboard/google/zork/variants/baseboard/ramstage_common.c
index 1604588..679f98c 100644
--- a/src/mainboard/google/zork/variants/baseboard/ramstage_common.c
+++ b/src/mainboard/google/zork/variants/baseboard/ramstage_common.c
@@ -19,7 +19,6 @@
static void update_hp_int_odl(void)
{
-
static const struct device_path rt5682_path[] = {
{
.type = DEVICE_PATH_PCI,
@@ -44,6 +43,7 @@
const struct device *rt5682_dev;
struct drivers_i2c_generic_config *cfg;
struct acpi_gpio *gpio;
+ struct soc_amd_picasso_config *soc_cfg;
if (!variant_uses_codec_gpi())
return;
@@ -65,6 +65,13 @@
gpio = &cfg->irq_gpio;
gpio->pins[0] = 62;
+ /*
+ * When using CODEC_GPI for headphone jack interrupt, ACP_PME_EN and ACP_I2S_WAKE_EN
+ * need to be set to trigger I2S_WAKE event for headphone jack.
+ */
+ soc_cfg = config_of_soc();
+ soc_cfg->acp_i2s_wake_enable = 1;
+ soc_cfg->acpi_pme_enable = 1;
}
static void update_dmic_gpio(void)
--
To view, visit https://review.coreboot.org/c/coreboot/+/44403
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I44b40db95b5148fe483c7340c5bd0d58627970a7
Gerrit-Change-Number: 44403
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: newchange
Nick Vaccaro has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44432 )
Change subject: mb/google/volteer: add generic DDR4 SPDs for Eldrid
......................................................................
mb/google/volteer: add generic DDR4 SPDs for Eldrid
Add Makefile.inc to include three generic DDR4 SPDs for the following
parts for Eldrid:
- H5AN8G6NDJR-XNC
- MT40A512M16TB-062E:J
- H5ANAG6NCMR-XNC
Add mem_list_variant.txt as a manifest of eldrid's DRAM parts for use
by gen_spd, the generic DD4 SPD generation tool.
Add dram_id_generated.txt to specify DRAM ID strap settings.
BUG=b:161772961
TEST=none
Change-Id: I2c41052436c713b1c064af2356ccc19fdf83633d
Signed-off-by: Nick Vaccaro <nvaccaro(a)google.com>
---
A src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc
A src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt
A src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt
3 files changed, 15 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/44432/1
diff --git a/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc b/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc
new file mode 100644
index 0000000..a173d0f
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc
@@ -0,0 +1,7 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+
+SPD_SOURCES =
+SPD_SOURCES += spd-1.hex # ID = 0(0b0000) Parts = H5AN8G6NDJR-XNC
+SPD_SOURCES += spd-2.hex # ID = 1(0b0001) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd-3.hex # ID = 2(0b0010) Parts = H5ANAG6NCMR-XN
diff --git a/src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt b/src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt
new file mode 100644
index 0000000..18e4232
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt
@@ -0,0 +1,4 @@
+DRAM Part Name ID to assign
+H5AN8G6NDJR-XNC 0 (0000)
+MT40A512M16TB-062E:J 1 (0001)
+H5ANAG6NCMR-XN 2 (0010)
diff --git a/src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt b/src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt
new file mode 100644
index 0000000..ff0982d
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt
@@ -0,0 +1,4 @@
+H5AN8G6NDJR-XNC
+MT40A512M16TB-062E:J
+H5ANAG6NCMR-XN
+
--
To view, visit https://review.coreboot.org/c/coreboot/+/44432
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2c41052436c713b1c064af2356ccc19fdf83633d
Gerrit-Change-Number: 44432
Gerrit-PatchSet: 1
Gerrit-Owner: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-MessageType: newchange