Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62796 )
Change subject: x86/smbios_defaults: Set default system manufacturer for ChromeOS devices
......................................................................
x86/smbios_defaults: Set default system manufacturer for ChromeOS devices
Currently, many Linux drivers use DMI quirks to identify ChromeOS devices and
handle them accordingly: namely they look for the SMBIOS system manufactuer
to be "GOOGLE" or "Google", and the bios-vendor to be coreboot. Historically
this was consistently the case, but recent model ChromeOS devices allow the
OEM to set the mainboard manufacturer, which is also the default system
manufacturer. This breaks many DMI quirks, notably ones used by SOF (sound
open firmware) for audio.
To fix this, set the default system manufactuer for ChromeOS devices to
"Google" conditional on CONFIG_MAINBOARD_HAS_CHROMEOS, leaving the OEM
customization in place for the mainboard manufacturer.
Test: build/boot google/bloog with Linux 5.16, verify SOF drivers
correctly detect device as a Chromebook and load the appropriate
audio firmware.
Change-Id: I9de17fa12689ab4e627b995818aa3d2653102b04
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
---
M src/arch/x86/smbios_defaults.c
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/62796/1
diff --git a/src/arch/x86/smbios_defaults.c b/src/arch/x86/smbios_defaults.c
index 8b62ebb..5f1731c 100644
--- a/src/arch/x86/smbios_defaults.c
+++ b/src/arch/x86/smbios_defaults.c
@@ -115,7 +115,10 @@
__weak const char *smbios_system_manufacturer(void)
{
- return smbios_mainboard_manufacturer();
+ if (CONFIG(MAINBOARD_HAS_CHROMEOS))
+ return "Google";
+ else
+ return smbios_mainboard_manufacturer();
}
__weak const char *smbios_system_product_name(void)
--
To view, visit https://review.coreboot.org/c/coreboot/+/62796
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9de17fa12689ab4e627b995818aa3d2653102b04
Gerrit-Change-Number: 62796
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-MessageType: newchange
Attention is currently required from: Robert Zieba.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/62795
to look at the new patch set (#2).
Change subject: util: Add amdfwread utility
......................................................................
util: Add amdfwread utility
Amdfwtool creates AMD firmware images however there is currently no way
to get information from an existing image. This commit adds amdfwread to
support that functionality. At the moment only reading PSP soft fuse
flags is supported.
BUG=b:202397678
TEST=Ran amdfwread and verified that it correctly read the soft fuse
bits
Signed-off-by: Robert Zieba <robertzieba(a)google.com>
Change-Id: I15fa07c9cad8e4640e9c40e5539b0dab44424850
---
A util/amdfwread/Makefile
A util/amdfwread/amdfwread.c
A util/amdfwread/description.md
3 files changed, 366 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/62795/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/62795
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I15fa07c9cad8e4640e9c40e5539b0dab44424850
Gerrit-Change-Number: 62795
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Zieba <robertzieba(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Robert Zieba <robertzieba(a)google.com>
Gerrit-MessageType: newpatchset
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/62795 )
Change subject: util: Add amdfwread utility
......................................................................
Patch Set 1:
(3 comments)
File util/amdfwread/amdfwread.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-143929):
https://review.coreboot.org/c/coreboot/+/62795/comment/189ed88d_e4c81dd8
PS1, Line 268: void print_usage()
Bad function definition - void print_usage() should probably be void print_usage(void)
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-143929):
https://review.coreboot.org/c/coreboot/+/62795/comment/0b0dbfba_9d99ea16
PS1, Line 315: for (size_t i = 0; i < sizeof(fw_header_offsets) / sizeof(fw_header_offsets[0]); i++) {
Prefer ARRAY_SIZE(fw_header_offsets)
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-143929):
https://review.coreboot.org/c/coreboot/+/62795/comment/0f320840_6509dae0
PS1, Line 334: }
adding a line without newline at end of file
--
To view, visit https://review.coreboot.org/c/coreboot/+/62795
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I15fa07c9cad8e4640e9c40e5539b0dab44424850
Gerrit-Change-Number: 62795
Gerrit-PatchSet: 1
Gerrit-Owner: Robert Zieba <robertzieba(a)google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 14 Mar 2022 22:06:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Douglas Anderson, Paul Menzel, Bob Moragues, Mars Chen.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/62642 )
Change subject: mb/google/trogdor: Add variant Gelarshie
......................................................................
Patch Set 7: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/62642
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie83df3c753d0863841430fe62805250ef8efeae9
Gerrit-Change-Number: 62642
Gerrit-PatchSet: 7
Gerrit-Owner: Mars Chen <chenxiangrui(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Bob Moragues <moragues(a)google.com>
Gerrit-Reviewer: Douglas Anderson <dianders(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Douglas Anderson <dianders(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Bob Moragues <moragues(a)google.com>
Gerrit-Attention: Mars Chen <chenxiangrui(a)huaqin.corp-partner.google.com>
Gerrit-Comment-Date: Mon, 14 Mar 2022 22:04:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Bora Guvendik, Selma Bensaid, Tim Wawrzynczak, Nick Vaccaro.
Cliff Huang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/62330 )
Change subject: mb/google/brya: Add companion device name to WWAN PCIe generic device
......................................................................
Patch Set 10:
(1 comment)
File src/mainboard/google/brya/variants/brya0/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/62330/comment/46a25949_774d04c3
PS10, Line 213: rp6_wwan
> Is there additional work needed for this CL? If not, can we resolve this comment so that this CL ca […]
The recent merged changes for dmaProperty create _DSD, while the changes in this code review and https://review.coreboot.org/c/coreboot/+/62301 are use PCIe generic to create _DSD. This needs to be resolved.
--
To view, visit https://review.coreboot.org/c/coreboot/+/62330
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia343c7545cf30bdbcd1de19e5eb84049dbb2977f
Gerrit-Change-Number: 62330
Gerrit-PatchSet: 10
Gerrit-Owner: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Selma Bensaid <selma.bensaid(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Cliff Huang <cliff.huang(a)intel.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Selma Bensaid <selma.bensaid(a)intel.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Comment-Date: Mon, 14 Mar 2022 21:24:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Cliff Huang <cliff.huang(a)intel.com>
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Comment-In-Reply-To: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-MessageType: comment