Attention is currently required from: Elyes Haouas.
Elyes Haouas has created a revert of this change. ( https://review.coreboot.org/c/coreboot/+/77147?usp=email )
Change subject: Makefile: Warn if flexible array members are not at the end
......................................................................
--
To view, visit https://review.coreboot.org/c/coreboot/+/77147?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: revert
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib704f7659d3b431ce7eebb4432c5b1a4272de3d2
Gerrit-Change-Number: 77147
Gerrit-PatchSet: 10
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Jan Samek <samekh(a)email.cz>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: 9elements QA <hardwaretestrobot(a)gmail.com>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Elyes Haouas <ehaouas(a)noos.fr>
Attention is currently required from: Felix Singer, Jan Samek, Martin L Roth, Maximilian Brune.
Hello Felix Singer, build bot (Jenkins), Martin L Roth, Maximilian Brune, Jan Samek,
I'd like you to do a code review.
Please visit
https://review.coreboot.org/c/coreboot/+/82758?usp=email
to review the following change.
Change subject: Revert "Makefile: Warn if flexible array members are not at the end"
......................................................................
Revert "Makefile: Warn if flexible array members are not at the end"
This reverts commit f4acef92333913c0b7e4cd7813149bfb527c165c.
Reason for revert: '-Wflex-array-member-not-at-end' is new command option came with GCC-14. older versions will not support it.
Change-Id: I179d0bc0db3e863645ae4c87e1534c5c20025dfb
---
M Makefile.mk
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/82758/1
diff --git a/Makefile.mk b/Makefile.mk
index 0358c88..e642ac7 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -501,7 +501,7 @@
CFLAGS_common += -fstrict-aliasing -ffunction-sections -fdata-sections -fno-pie
CFLAGS_common += -Wstring-compare
ifeq ($(CONFIG_COMPILER_GCC),y)
-CFLAGS_common += -Wold-style-declaration -Wflex-array-member-not-at-end
+CFLAGS_common += -Wold-style-declaration
# Don't add these GCC specific flags when running scan-build
ifeq ($(CCC_ANALYZER_OUTPUT_FORMAT),)
CFLAGS_common += -Wno-packed-not-aligned
--
To view, visit https://review.coreboot.org/c/coreboot/+/82758?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I179d0bc0db3e863645ae4c87e1534c5c20025dfb
Gerrit-Change-Number: 82758
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Jan Samek <samekh(a)email.cz>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: 9elements QA <hardwaretestrobot(a)gmail.com>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Attention: Jan Samek <samekh(a)email.cz>
Attention is currently required from: Nick Vaccaro.
Hello Nick Vaccaro,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/82757?usp=email
to look at the new patch set (#2).
Change subject: mainboard/volteer: Update elemi data.vbt to 2.50
......................................................................
mainboard/volteer: Update elemi data.vbt to 2.50
I used my vbt upgrader and then tested on my elemi and got graphics in
payload with the latest FSP
Change-Id: I47e97ee940f5678bbac5054e23a4569f0a0ff4b2
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
M src/mainboard/google/volteer/variants/elemi/data.vbt
1 file changed, 0 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/82757/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/82757?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I47e97ee940f5678bbac5054e23a4569f0a0ff4b2
Gerrit-Change-Number: 82757
Gerrit-PatchSet: 2
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Vladimir Serbinenko has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/82757?usp=email )
Change subject: mainboard/volteer: Update elemi data.vbt to 2.50
......................................................................
mainboard/volteer: Update elemi data.vbt to 2.50
I used my vbt upgrader and then tested on my elemi and got graphics in
payload with the latest FSP
Change-Id: I47e97ee940f5678bbac5054e23a4569f0a0ff4b2
---
M src/mainboard/google/volteer/variants/elemi/data.vbt
1 file changed, 0 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/82757/1
diff --git a/src/mainboard/google/volteer/variants/elemi/data.vbt b/src/mainboard/google/volteer/variants/elemi/data.vbt
index f3597e28..458bf46 100644
--- a/src/mainboard/google/volteer/variants/elemi/data.vbt
+++ b/src/mainboard/google/volteer/variants/elemi/data.vbt
Binary files differ
--
To view, visit https://review.coreboot.org/c/coreboot/+/82757?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I47e97ee940f5678bbac5054e23a4569f0a0ff4b2
Gerrit-Change-Number: 82757
Gerrit-PatchSet: 1
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/82754?usp=email )
Change subject: sb/intel/bd82x6x/early_usb.c: Align native current map with MRC
......................................................................
sb/intel/bd82x6x/early_usb.c: Align native current map with MRC
Replace 3 unused values in the map with those found during a Ghidra
examination of MRC binary, and on hardwares running vendor firmware
(asus/p8z77-m and HP Z210 CMT Workstation).
The outgoing values were introduced in commit 216ad2170ca8
("sb/intel/bd82x6x: Add new USB currents") in anticipation for
Gigabyte GA-Z77-DS3H mainboard, but effort to land it was eventually
abandoned. Since commit xxxxxxxxxxxx, such values can be placed
directly in the port config, so there should be no hurdle should that
effort be resurrected.
Add a few #defines in pch.h to place some inline documentation
on MRC values, but more will be documented in the future when this
mapping is introduced MRC-side.
Finally, update autoport to match.
Change-Id: I195c7f627994e48f7a6e6698589504dc96248cff
Signed-off-by: Keith Hui <buurin(a)gmail.com>
---
M src/southbridge/intel/bd82x6x/early_usb.c
M src/southbridge/intel/bd82x6x/pch.h
M util/autoport/bd82x6x.go
3 files changed, 18 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/82754/1
diff --git a/src/southbridge/intel/bd82x6x/early_usb.c b/src/southbridge/intel/bd82x6x/early_usb.c
index 6667d47..6c21cf7 100644
--- a/src/southbridge/intel/bd82x6x/early_usb.c
+++ b/src/southbridge/intel/bd82x6x/early_usb.c
@@ -20,8 +20,9 @@
* See below. */
const u32 currents[] = { USBIR_TXRX_GAIN_MOBILE_LOW, USBIR_TXRX_GAIN_DEFAULT,
USBIR_TXRX_GAIN_HIGH, 0x20000f51, 0x2000094a, 0x2000035f,
- USBIR_TXRX_GAIN_DESKTOP_LOW, 0x20000357, 0x20000353,
- 0x20000253, 0x20000053, 0x2000055f, 0x20000f5f};
+ USBIR_TXRX_GAIN_DESKTOP6_LOW, USBIR_TXRX_GAIN_DESKTOP6_HIGH,
+ USBIR_TXRX_GAIN_DESKTOP7_LOW, USBIR_TXRX_GAIN_DESKTOP7_MED,
+ 0x20000053, 0x2000055f, 0x20000f5f};
int i;
/* Unlock registers. */
diff --git a/src/southbridge/intel/bd82x6x/pch.h b/src/southbridge/intel/bd82x6x/pch.h
index 040b477..f2f02b3 100644
--- a/src/southbridge/intel/bd82x6x/pch.h
+++ b/src/southbridge/intel/bd82x6x/pch.h
@@ -390,10 +390,23 @@
/* Up to 14" onboard trace length, up to 8" on wires */
#define USBIR_TXRX_GAIN_DEFAULT 0x20000f57
+#define USBIR_TXRX_GAIN_MOBILE_HIGH USBIR_TXRX_GAIN_DEFAULT
/* Up to 10" onboard trace length, up to 15" on wires */
#define USBIR_TXRX_GAIN_HIGH 0x2000055B
+/* Desktop 6-series PCHs */
+/* In order: up to and not including 8"/13"/15" on wires */
+#define USBIR_TXRX_GAIN_DESKTOP6_LOW USBIR_TXRX_GAIN_DESKTOP_LOW
+#define USBIR_TXRX_GAIN_DESKTOP6_MED USBIR_TXRX_GAIN_DEFAULT
+#define USBIR_TXRX_GAIN_DESKTOP6_HIGH 0x20000f5b
+
+/* Desktop 7-series PCHs */
+/* In order: up to and not including 8"/10"/15" on wires */
+#define USBIR_TXRX_GAIN_DESKTOP7_LOW USBIR_TXRX_GAIN_DEFAULT
+#define USBIR_TXRX_GAIN_DESKTOP7_MED 0x20000553
+#define USBIR_TXRX_GAIN_DESKTOP7_HIGH USBIR_TXRX_GAIN_HIGH
+
/* Miscellaneous Control Register */
#define MISCCTL 0x3590 /* 32bit */
/* USB Port Disable Override */
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go
index 76411e7..e2dc827 100644
--- a/util/autoport/bd82x6x.go
+++ b/util/autoport/bd82x6x.go
@@ -311,8 +311,8 @@
0x2000094a: 4,
0x2000035f: 5,
0x20000f53: 6,
- 0x20000357: 7,
- 0x20000353: 8,
+ 0x20000f5b: 7,
+ 0x20000553: 9,
}
for port := uint(0); port < 14; port++ {
--
To view, visit https://review.coreboot.org/c/coreboot/+/82754?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I195c7f627994e48f7a6e6698589504dc96248cff
Gerrit-Change-Number: 82754
Gerrit-PatchSet: 1
Gerrit-Owner: Keith Hui <buurin(a)gmail.com>
Attention is currently required from: Angel Pons, Patrick Rudolph.
Hello Patrick Rudolph, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/81878?usp=email
to look at the new patch set (#5).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: sb/intel/bd82x6x: Make space for USB port config in devicetree
......................................................................
sb/intel/bd82x6x: Make space for USB port config in devicetree
This is the first step to:
- Move USB port configs, which are static, from C code to devicetree;
- Unify USB port configs between MRC and native code path.
For USB current strength/trace length settings, define one set of
enums that accounts for all combinations currently seen in tree
for boards using MRC raminit, and set up mapping in native code path
for these enums. MRC code path counterparts will follow separately.
This structure will otherwise match the one in C code used by native
code path.
Change-Id: I59af466d41790e2163342cac8676457ac19371ea
Signed-off-by: Keith Hui <buurin(a)gmail.com>
---
M src/southbridge/intel/bd82x6x/chip.h
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/81878/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/81878?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I59af466d41790e2163342cac8676457ac19371ea
Gerrit-Change-Number: 81878
Gerrit-PatchSet: 5
Gerrit-Owner: Keith Hui <buurin(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>