Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/54062 )
Change subject: build system: Use more robust linker options
......................................................................
build system: Use more robust linker options
ld accepts a few of its options both as -single-dash and --double-dash
options, but later versions (e.g. in binutils 2.36.1) seem to abandon
that.
Besides that the single-dash variant is also more risky because
misspellings are interpreted as multiple single-letter options:
-nostdllib is accepted, while --nostdllib returns an error.
Change-Id: Icee24ba79df4df3b1a06af59f7ad268b01ba9e2f
Signed-off-by: Patrick Georgi <pgeorgi(a)google.com>
---
M Makefile.inc
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/54062/1
diff --git a/Makefile.inc b/Makefile.inc
index ce70a30..71b52f9 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -489,7 +489,7 @@
# Disable style checks for now
ADAFLAGS_common += -gnatyN
-LDFLAGS_common := --gc-sections -nostdlib -nostartfiles -static
+LDFLAGS_common := --gc-sections --nostdlib --nostartfiles --static
# Workaround for RISC-V linker bug, merge back into above line when fixed.
# https://sourceware.org/bugzilla/show_bug.cgi?id=27180
--
To view, visit https://review.coreboot.org/c/coreboot/+/54062
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Icee24ba79df4df3b1a06af59f7ad268b01ba9e2f
Gerrit-Change-Number: 54062
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
Attention is currently required from: wouter.eckhardt(a)prodrive-technologies.com, Guido Beyer @ Prodrive Technologies, Justin van Son, Patrick Rudolph, Christian Walter, Angel Pons, Stef van Os.
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/54058 )
Change subject: mb/prodrive/hermes: Disable ACPI S3 and S4 with SPS
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> What about doing that in a more generic way by adding !HAVE_SPS / HAVE_SPS as dependency to HAVE_ACP […]
x11 boards could use that too, then
--
To view, visit https://review.coreboot.org/c/coreboot/+/54058
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9d0fa8530e198e86415f92da6719d2fb0d2401ec
Gerrit-Change-Number: 54058
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Guido Beyer @ Prodrive Technologies <guido.beyer(a)prodrive-technologies.com>
Gerrit-Reviewer: Justin van Son <justin.van.son(a)prodrive-technologies.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Stef van Os <stef.van.os(a)prodrive-technologies.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: wouter.eckhardt(a)prodrive-technologies.com
Gerrit-CC: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Attention: wouter.eckhardt(a)prodrive-technologies.com
Gerrit-Attention: Guido Beyer @ Prodrive Technologies <guido.beyer(a)prodrive-technologies.com>
Gerrit-Attention: Justin van Son <justin.van.son(a)prodrive-technologies.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Stef van Os <stef.van.os(a)prodrive-technologies.com>
Gerrit-Comment-Date: Tue, 11 May 2021 13:11:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-MessageType: comment
Attention is currently required from: wouter.eckhardt(a)prodrive-technologies.com, Guido Beyer @ Prodrive Technologies, Justin van Son, Patrick Rudolph, Christian Walter, Angel Pons, Stef van Os.
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/54058 )
Change subject: mb/prodrive/hermes: Disable ACPI S3 and S4 with SPS
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
What about doing that in a more generic way by adding !HAVE_SPS / HAVE_SPS as dependency to HAVE_ACPI_RESUME and DISABLE_ACPI_HIBERNATE?
--
To view, visit https://review.coreboot.org/c/coreboot/+/54058
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9d0fa8530e198e86415f92da6719d2fb0d2401ec
Gerrit-Change-Number: 54058
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Guido Beyer @ Prodrive Technologies <guido.beyer(a)prodrive-technologies.com>
Gerrit-Reviewer: Justin van Son <justin.van.son(a)prodrive-technologies.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Stef van Os <stef.van.os(a)prodrive-technologies.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: wouter.eckhardt(a)prodrive-technologies.com
Gerrit-CC: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Attention: wouter.eckhardt(a)prodrive-technologies.com
Gerrit-Attention: Guido Beyer @ Prodrive Technologies <guido.beyer(a)prodrive-technologies.com>
Gerrit-Attention: Justin van Son <justin.van.son(a)prodrive-technologies.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Stef van Os <stef.van.os(a)prodrive-technologies.com>
Gerrit-Comment-Date: Tue, 11 May 2021 13:11:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Kane Chen, Chris Wang.
chris wang has uploaded a new patch set (#10) to the change originally created by Kane Chen. ( https://review.coreboot.org/c/coreboot/+/51523 )
Change subject: mb/google/zork/var/shuboz: update USB OC pin mapping
......................................................................
mb/google/zork/var/shuboz: update USB OC pin mapping
modify USB OC pin setting for Shuboz, as follow:
usb_port_overcurrent_pin[0] = "USB_OC_PIN_0" # USB C0
usb_port_overcurrent_pin[1] = "USB_OC_PIN_0" # USB A0
usb_port_overcurrent_pin[2] = "USB_OC_NONE" # NONE
usb_port_overcurrent_pin[3] = "USB_OC_PIN_1" # USB C1
BUG=b:182879559
BRANCH=zork
TEST=emerge-zork coreboot, validate the OC mapping.
Signed-off-by: Kane Chen <kane_chen(a)pegatron.corp-partner.google.com>
Change-Id: Icc1fa090109e6be54e2a5f49e364f5502f53aca2
---
M src/mainboard/google/zork/variants/baseboard/helpers.c
M src/mainboard/google/zork/variants/baseboard/include/baseboard/variants.h
M src/mainboard/google/zork/variants/shuboz/variant.c
3 files changed, 30 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/51523/10
--
To view, visit https://review.coreboot.org/c/coreboot/+/51523
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Icc1fa090109e6be54e2a5f49e364f5502f53aca2
Gerrit-Change-Number: 51523
Gerrit-PatchSet: 10
Gerrit-Owner: Kane Chen <kane_chen(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Chris Wang <chris.wang(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Kane Chen <kane_chen(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Frank Chu <frank_chu(a)pegatron.corp-partner.google.com>
Gerrit-CC: Hank Lin <hank2_lin(a)pegatron.corp-partner.google.com>
Gerrit-CC: Ken Lu <ken_lu(a)pegatron.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: chris wang <Chris.Wang(a)amd.com>
Gerrit-Attention: Kane Chen <kane_chen(a)pegatron.corp-partner.google.com>
Gerrit-Attention: Chris Wang <chris.wang(a)amd.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Kane Chen, Chris Wang.
chris wang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/51523 )
Change subject: mb/google/zork/var/shuboz: update USB OC pin mapping
......................................................................
Patch Set 9:
(3 comments)
File src/mainboard/google/zork/variants/baseboard/helpers.c:
https://review.coreboot.org/c/coreboot/+/51523/comment/342da199_d25c5b61
PS6, Line 117: return !!extract_field(FW_CONFIG_MASK_LID_ANGLE_TABLET_MODE, FW_CONFIG_LID_ANGLE_TABLET_MODE_SHIFT);
> line over 96 characters
Please fix.
File src/mainboard/google/zork/variants/shuboz/variant.c:
https://review.coreboot.org/c/coreboot/+/51523/comment/54f345d4_73c7a8eb
PS6, Line 7: uint32_t usb_oc_map_override [USB_PORT_COUNT] = {
> space prohibited before open square bracket '['
Please fix.
https://review.coreboot.org/c/coreboot/+/51523/comment/5e14882e_b8ad001b
PS6, Line 55: }
> adding a line without newline at end of file
Please fix.
--
To view, visit https://review.coreboot.org/c/coreboot/+/51523
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Icc1fa090109e6be54e2a5f49e364f5502f53aca2
Gerrit-Change-Number: 51523
Gerrit-PatchSet: 9
Gerrit-Owner: Kane Chen <kane_chen(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Chris Wang <chris.wang(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Kane Chen <kane_chen(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Frank Chu <frank_chu(a)pegatron.corp-partner.google.com>
Gerrit-CC: Hank Lin <hank2_lin(a)pegatron.corp-partner.google.com>
Gerrit-CC: Ken Lu <ken_lu(a)pegatron.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: chris wang <Chris.Wang(a)amd.com>
Gerrit-Attention: Kane Chen <kane_chen(a)pegatron.corp-partner.google.com>
Gerrit-Attention: Chris Wang <chris.wang(a)amd.corp-partner.google.com>
Gerrit-Comment-Date: Tue, 11 May 2021 12:57:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/52887 )
Change subject: mb/google/dedede: Add a variant callback to update devicetree config
......................................................................
mb/google/dedede: Add a variant callback to update devicetree config
This callback is required to update the devicetree config at run-time
after probing the firmware config.
BUG=b:186380807
BRANCH=dedede
TEST=Build and boot to OS in metaknight.
Change-Id: I857211bfc4beb36ab225f3786c1707336a34aae9
Signed-off-by: David Wu <david_wu(a)quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52887
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Evan Green <evgreen(a)chromium.org>
Reviewed-by: Raymond Wong <wongraymond(a)google.com>
---
M src/mainboard/google/dedede/mainboard.c
M src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h
2 files changed, 10 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Evan Green: Looks good to me, approved
Raymond Wong: Looks good to me, but someone else must approve
diff --git a/src/mainboard/google/dedede/mainboard.c b/src/mainboard/google/dedede/mainboard.c
index 26afb69..6d544b5 100644
--- a/src/mainboard/google/dedede/mainboard.c
+++ b/src/mainboard/google/dedede/mainboard.c
@@ -40,10 +40,17 @@
gpio_configure_pads_with_override(base_pads, base_num,
override_pads, override_num);
+ variant_devtree_update();
+
if (CONFIG(BOARD_GOOGLE_BASEBOARD_DEDEDE_CR50))
mainboard_update_soc_chip_config();
}
+void __weak variant_devtree_update(void)
+{
+ /* Override dev tree settings per board */
+}
+
static void mainboard_dev_init(struct device *dev)
{
mainboard_ec_init();
diff --git a/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h
index e7bfd86..a3dcd91 100644
--- a/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h
+++ b/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h
@@ -39,4 +39,7 @@
/* Allow each variants to customize SMI sleep flow. */
void variant_smi_sleep(u8 slp_typ);
+/* Modify devictree settings during ramstage. */
+void variant_devtree_update(void);
+
#endif /*__BASEBOARD_VARIANTS_H__ */
--
To view, visit https://review.coreboot.org/c/coreboot/+/52887
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I857211bfc4beb36ab225f3786c1707336a34aae9
Gerrit-Change-Number: 52887
Gerrit-PatchSet: 4
Gerrit-Owner: David Wu <david_wu(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Evan Green <evgreen(a)chromium.org>
Gerrit-Reviewer: Henry Sun <henrysun(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Raymond Wong <wongraymond(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-MessageType: merged