Benjamin Doron has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45006 )
Change subject: soc/intel/skylake: FSP does not set subsystem
......................................................................
Patch Set 2:
This change is ready for review.
--
To view, visit https://review.coreboot.org/c/coreboot/+/45006
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9157fb69f2a49dfc08f049da4b39fbf86614ace3
Gerrit-Change-Number: 45006
Gerrit-PatchSet: 2
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 16 Oct 2020 18:21:39 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Kevin Chiu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46292 )
Change subject: mb/google/zork: disable eMMC per FW_CONFIG for berknip
......................................................................
mb/google/zork: disable eMMC per FW_CONFIG for berknip
Berknip has SSD/eMMC SKU, we should turn off eMMC
if storage is NVMe SSD.
BUG=b:170592992
BRANCH=zork
TEST=1. emerge-zork coreboot
2. Check eMMC is enabled or disabled based on the eMMC bit in
FW_CONFIG.
Change-Id: I7aeabc98fc16bc2837c8dcdc40c3c6a80898cdc9
Signed-off-by: Kevin Chiu <kevin.chiu(a)quantatw.com>
---
M src/mainboard/google/zork/variants/berknip/Makefile.inc
A src/mainboard/google/zork/variants/berknip/variant.c
2 files changed, 17 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/46292/1
diff --git a/src/mainboard/google/zork/variants/berknip/Makefile.inc b/src/mainboard/google/zork/variants/berknip/Makefile.inc
index 57e7136..51d19fe 100644
--- a/src/mainboard/google/zork/variants/berknip/Makefile.inc
+++ b/src/mainboard/google/zork/variants/berknip/Makefile.inc
@@ -3,3 +3,4 @@
subdirs-y += ./spd
ramstage-y += gpio.c
+ramstage-y += variant.c
diff --git a/src/mainboard/google/zork/variants/berknip/variant.c b/src/mainboard/google/zork/variants/berknip/variant.c
new file mode 100644
index 0000000..092ff26
--- /dev/null
+++ b/src/mainboard/google/zork/variants/berknip/variant.c
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/variants.h>
+
+void variant_devtree_update(void)
+{
+ struct soc_amd_picasso_config *cfg;
+
+ cfg = config_of_soc();
+
+ /*
+ * Enable eMMC if eMMC bit is set in FW_CONFIG or device is unprovisioned.
+ */
+ if (!(variant_has_emmc() || boot_is_factory_unprovisioned()))
+ cfg->emmc_config.timing = SD_EMMC_DISABLE;
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/46292
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7aeabc98fc16bc2837c8dcdc40c3c6a80898cdc9
Gerrit-Change-Number: 46292
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Chiu <Kevin.Chiu(a)quantatw.com>
Gerrit-MessageType: newchange
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44586 )
Change subject: mb/google/dedede: Add support to override gpio config in bootblock
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44586/5//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/44586/5//COMMIT_MSG@7
PS5, Line 7: Add support to override gpio config in bootblock
> I agree with Furquan's analysis. I have been burnt once for the same situation Furquan mentioned. […]
I think the latter suggestion would be a safer one since it is easy to forget that the GPIO wasn't added to base table i.e. simply provide a stronger implementation of the GPIO table using variant_early_gpio_table() for the variant that requires a different early GPIO table than baseboard.
--
To view, visit https://review.coreboot.org/c/coreboot/+/44586
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id66949ef4d4e9772a86089b645883a94680108ee
Gerrit-Change-Number: 44586
Gerrit-PatchSet: 5
Gerrit-Owner: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Henry Sun <henrysun(a)google.com>
Gerrit-Reviewer: Marco Chen <marcochen(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 16 Oct 2020 17:54:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Comment-In-Reply-To: Marco Chen <marcochen(a)google.com>
Comment-In-Reply-To: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-MessageType: comment
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44586 )
Change subject: mb/google/dedede: Add support to override gpio config in bootblock
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44586/5//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/44586/5//COMMIT_MSG@7
PS5, Line 7: Add support to override gpio config in bootblock
> Should we consider making a modification to the override mechanism to add entries from the override […]
I agree with Furquan's analysis. I have been burnt once for the same situation Furquan mentioned. I forgot to configure the GPIO in the baseboard early gpio table and the override was not applying.
For the use-case here, we don't need an early override table. GPIOs used for LTE power sequencing is dedicated for WWAN purposes. Those GPIOs can be configured in the baseboard early gpio table and overridden only in the ramstage.
But if the use-case for these GPIOs change in the future and if we have to configure them in bootblock, then we will be in the same situation as we are today.
>> Should we consider making a modification to the override mechanism to add entries from the override table that aren't in the base table?
We can do it, but does that bode well with the definition of "override". My understanding is to override something we have to have a base definition. Without the base definition, do we want to allow overriding entries.
An alternate option is to override the entire early gpio table. variant_early_gpio_table() is overrideable. So define a complete override table in the variant and return that.
const struct pad_config *__weak variant_early_gpio_table(size_t *num)
{
*num = ARRAY_SIZE(early_gpio_table);
return early_gpio_table;
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/44586
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id66949ef4d4e9772a86089b645883a94680108ee
Gerrit-Change-Number: 44586
Gerrit-PatchSet: 5
Gerrit-Owner: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Henry Sun <henrysun(a)google.com>
Gerrit-Reviewer: Marco Chen <marcochen(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 16 Oct 2020 17:49:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Comment-In-Reply-To: Marco Chen <marcochen(a)google.com>
Gerrit-MessageType: comment
Hello build bot (Jenkins), Nico Huber, Frans Hendriks, Angel Pons, Patrick Rudolph, Wim Vervoorn,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45001
to look at the new patch set (#6).
Change subject: soc/intel/skylake: Rename PcieRpAspm devicetree config
......................................................................
soc/intel/skylake: Rename PcieRpAspm devicetree config
This configuration option shares a name with the FSP UPD, but
is enumerated differently. Change its name to minimise confusion
about the options.
Change-Id: Id74f043ecd549bde4501320bff1dc080bde64057
Signed-off-by: Benjamin Doron <benjamin.doron00(a)gmail.com>
---
M src/mainboard/facebook/monolith/devicetree.cb
M src/soc/intel/skylake/chip.c
M src/soc/intel/skylake/chip.h
3 files changed, 6 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/45001/6
--
To view, visit https://review.coreboot.org/c/coreboot/+/45001
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id74f043ecd549bde4501320bff1dc080bde64057
Gerrit-Change-Number: 45001
Gerrit-PatchSet: 6
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Wim Vervoorn <wvervoorn(a)eltan.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46460 )
Change subject: soc/intel: drop unneeded ISST configuration code
......................................................................
Patch Set 2:
> Patch Set 2:
>
> > Patch Set 2:
> >
> > IMO a cleaner approach would be to move the code to a function in the MSR common block, switch any boards disabling ISST to use the function directly vs setting DT register, and then dropping from the SoC code
>
> Cleaner? How could useless code be cleaner than no code?
perhaps i was unclear, I meant in conjunction with the parent commit. And the code wouldn't be useless, it would be used by google/dedede
--
To view, visit https://review.coreboot.org/c/coreboot/+/46460
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I952720cf1de78b00b1bf749f10e9c0acd6ecb6b7
Gerrit-Change-Number: 46460
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 16 Oct 2020 14:50:16 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44586 )
Change subject: mb/google/dedede: Add support to override gpio config in bootblock
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44586/5//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/44586/5//COMMIT_MSG@7
PS5, Line 7: Add support to override gpio config in bootblock
> variant_override_gpio_table is a similar implementation and adopted by multiple platforms already. […]
Should we consider making a modification to the override mechanism to add entries from the override table that aren't in the base table?
--
To view, visit https://review.coreboot.org/c/coreboot/+/44586
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id66949ef4d4e9772a86089b645883a94680108ee
Gerrit-Change-Number: 44586
Gerrit-PatchSet: 5
Gerrit-Owner: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Henry Sun <henrysun(a)google.com>
Gerrit-Reviewer: Marco Chen <marcochen(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 16 Oct 2020 14:47:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Comment-In-Reply-To: Marco Chen <marcochen(a)google.com>
Gerrit-MessageType: comment