Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43118 )
Change subject: mb/google/zork: Drop check for ENV_RAMSTAGE in mainboard_ec_init
......................................................................
mb/google/zork: Drop check for ENV_RAMSTAGE in mainboard_ec_init
This change drops the check for ENV_RAMSTAGE in mainboard_ec_init()
since it is included only in ramstage. Also, the content of
ramstage_ec_init() is moved into mainboard_ec_init().
Change-Id: I282fb07a80f4de6064a544f6dd58e8f973a597b9
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
---
M src/mainboard/google/zork/ec.c
1 file changed, 1 insertion(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/43118/1
diff --git a/src/mainboard/google/zork/ec.c b/src/mainboard/google/zork/ec.c
index 4c4329d..d770d27 100644
--- a/src/mainboard/google/zork/ec.c
+++ b/src/mainboard/google/zork/ec.c
@@ -3,10 +3,9 @@
#include <acpi/acpi.h>
#include <console/console.h>
#include <ec/google/chromeec/ec.h>
-#include <soc/southbridge.h>
#include <variant/ec.h>
-static void ramstage_ec_init(void)
+void mainboard_ec_init(void)
{
const struct google_chromeec_event_info info = {
.log_events = MAINBOARD_EC_LOG_EVENTS,
@@ -19,9 +18,3 @@
google_chromeec_events_init(&info, acpi_is_wakeup_s3());
}
-
-void mainboard_ec_init(void)
-{
- if (ENV_RAMSTAGE)
- ramstage_ec_init();
-}
--
To view, visit https://review.coreboot.org/c/coreboot/+/43118
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I282fb07a80f4de6064a544f6dd58e8f973a597b9
Gerrit-Change-Number: 43118
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: newchange
Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43040 )
Change subject: ec/google/chromeec: Move if EC_GOOGLE_CHROMEEC to i2c_tunnel/Kconfig
......................................................................
ec/google/chromeec: Move if EC_GOOGLE_CHROMEEC to i2c_tunnel/Kconfig
This change moves `if EC_GOOGLE_CHROMEEC` from chromeec/Kconfig to
chromeec/i2c_tunnel/Kconfig. This is done to make it clear that the
Kconfig file in i2c_tunnel is sourced unconditionally, but the configs
in i2c_tunnel/Kconfig are conditionally defined based on the
evaluation of if condition.
This change addressed the feedback received on
https://review.coreboot.org/c/coreboot/+/40515/11/src/ec/google/chromeec/Kc….
Change-Id: I66cd91d6b1813ff6d0fb7be719e2da65ac6ac23b
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
---
M src/ec/google/chromeec/Kconfig
M src/ec/google/chromeec/i2c_tunnel/Kconfig
2 files changed, 5 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/43040/1
diff --git a/src/ec/google/chromeec/Kconfig b/src/ec/google/chromeec/Kconfig
index 4615878..638c011 100644
--- a/src/ec/google/chromeec/Kconfig
+++ b/src/ec/google/chromeec/Kconfig
@@ -197,8 +197,4 @@
Enable support for Chrome OS mode switches provided by the Chrome OS
EC.
-if EC_GOOGLE_CHROMEEC
-
source "src/ec/google/chromeec/*/Kconfig"
-
-endif
diff --git a/src/ec/google/chromeec/i2c_tunnel/Kconfig b/src/ec/google/chromeec/i2c_tunnel/Kconfig
index 20169fd..e517a17 100644
--- a/src/ec/google/chromeec/i2c_tunnel/Kconfig
+++ b/src/ec/google/chromeec/i2c_tunnel/Kconfig
@@ -1,6 +1,11 @@
+if EC_GOOGLE_CHROMEEC
+
config EC_GOOGLE_CHROMEEC_I2C_TUNNEL
bool
depends on HAVE_ACPI_TABLES
help
This enables the Cros EC I2C tunnel driver that is required to fill the
SSDT nodes for the I2C tunnel used by the mainboard.
+
+endif
+
--
To view, visit https://review.coreboot.org/c/coreboot/+/43040
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I66cd91d6b1813ff6d0fb7be719e2da65ac6ac23b
Gerrit-Change-Number: 43040
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: newchange
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37441 )
Change subject: mb/supermicro/x11-lga1151v2-series: Add support for X11SCH-F
......................................................................
Patch Set 60:
(2 comments)
https://review.coreboot.org/c/coreboot/+/37441/60/src/mainboard/supermicro/…
File src/mainboard/supermicro/x11-lga1151v2-series/dsdt.asl:
https://review.coreboot.org/c/coreboot/+/37441/60/src/mainboard/supermicro/…
PS60, Line 18: Scope (\_SB) {
: Device (PCI0) {
> You are always complaining about this - but this throws an error when comping the asl code ;)
Uh, weird. It works for me on other platforms
https://review.coreboot.org/c/coreboot/+/37441/60/src/mainboard/supermicro/…
File src/mainboard/supermicro/x11-lga1151v2-series/memory.c:
https://review.coreboot.org/c/coreboot/+/37441/60/src/mainboard/supermicro/…
PS60, Line 27: .rcomp_resistor = {121, 81, 100},
> These values often go through me and come from Intel doc #573387. […]
I usually dig the resistor values from schematics for ULT and Halo, and then ask Nico if they are correct. They usually are the same for SKL and CFL parts with the same topology (CFL is just SKL refresh refresh).
On socketed platforms, however, the resistors are under the CPU [1]. One day on IRC, Nico and I were curious about the value of those resistors, so I took a dead i5-6400 and desoldered the resistors to measure the values. And the resistor values matched those for Halo: 121, 75, 100.
[1]: https://i.imgur.com/YMdxMWf.jpg (The three light blue components on the top left corner of the center are those RCOMP resistors)
--
To view, visit https://review.coreboot.org/c/coreboot/+/37441
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0ab1cb9462607b9af068bc2374508d99c60d0a30
Gerrit-Change-Number: 37441
Gerrit-PatchSet: 60
Gerrit-Owner: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
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: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.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: Jonas Löffelholz
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Sun, 05 Jul 2020 17:33:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Christian Walter <christian.walter(a)9elements.com>
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37441 )
Change subject: mb/supermicro/x11-lga1151v2-series: Add support for X11SCH-F
......................................................................
Patch Set 60:
(2 comments)
https://review.coreboot.org/c/coreboot/+/37441/60/src/mainboard/supermicro/…
File src/mainboard/supermicro/x11-lga1151v2-series/memory.c:
https://review.coreboot.org/c/coreboot/+/37441/60/src/mainboard/supermicro/…
PS60, Line 27: .rcomp_resistor = {121, 81, 100},
> Where do you got those values from? - Also why CFL-U?
These values often go through me and come from Intel doc #573387.
The Rcomp values are all specific to the chip generation, class (Y/U/H/S),
and DRAM topology (e.g. DIMM/SO-DIMM/soldered down this/that way).
For the socketed -S CPUs, it's not board specific at all, as the resistors
are on the bottom of the CPU package. IIRC, we confirmed the 121, 75, 100
by measuring once (and it's what the document says for CFL-S).
https://review.coreboot.org/c/coreboot/+/37441/60/src/mainboard/supermicro/…
PS60, Line 30: .rcomp_targets = {100, 40, 20, 20, 26},
> Same question? Origin?
Same document, and I can confirm Angel's values.
--
To view, visit https://review.coreboot.org/c/coreboot/+/37441
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0ab1cb9462607b9af068bc2374508d99c60d0a30
Gerrit-Change-Number: 37441
Gerrit-PatchSet: 60
Gerrit-Owner: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
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: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.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: Jonas Löffelholz
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Sun, 05 Jul 2020 16:44:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Christian Walter <christian.walter(a)9elements.com>
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment