Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45911 )
Change subject: drivers/i2c: Add chip driver for GPIO based I2C multiplexer
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45911/4/src/drivers/i2c/gpio_mux/g…
File src/drivers/i2c/gpio_mux/gpio_mux.c:
PS4:
> I proposed that just to keep the support for the mux and the bus closer in coreboot. […]
Exactly what I was thinking
--
To view, visit https://review.coreboot.org/c/coreboot/+/45911
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib371108cc6043c133681066bf7bf4b2e00771e8b
Gerrit-Change-Number: 45911
Gerrit-PatchSet: 5
Gerrit-Owner: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Evan Green <evgreen(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Justin TerAvest <teravest(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 06 Oct 2020 18:52:54 +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>
Gerrit-MessageType: comment
Paul Fagerburg has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45746 )
Change subject: templates: add an empty SPD to SPD_SOURCES
......................................................................
templates: add an empty SPD to SPD_SOURCES
Add an empty SPD in SPD_SOURCES when creating a new variant of hatch, volteer,
waddledee, or waddledoo, so that coreboot can build successfully.
For variants that use spd_tools, add an empty mem_parts_used.txt so that
the developer can add the supported memory parts and regenerate the
Makefile.inc with the correct SPD references.
BUG=b:169422833
TEST=create a new variant of hatch, volteer, waddledee, and waddledoo, and
observe that each one succeeds.
Signed-off-by: Paul Fagerburg <pfagerburg(a)google.com>
Change-Id: I06dfb6103701bf8949180595f1e98fac48bcc585
---
M util/mainboard/google/hatch/template/Makefile.inc
A util/mainboard/google/volteer/template/memory/Makefile.inc
A util/mainboard/google/volteer/template/memory/dram_id.generated.txt
A util/mainboard/google/volteer/template/memory/mem_parts_used.txt
A util/mainboard/google/waddledee/template/memory/Makefile.inc
A util/mainboard/google/waddledee/template/memory/dram_id.generated.txt
A util/mainboard/google/waddledee/template/memory/mem_parts_used.txt
A util/mainboard/google/waddledoo/template/memory/Makefile.inc
A util/mainboard/google/waddledoo/template/memory/dram_id.generated.txt
A util/mainboard/google/waddledoo/template/memory/mem_parts_used.txt
10 files changed, 48 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/45746/1
diff --git a/util/mainboard/google/hatch/template/Makefile.inc b/util/mainboard/google/hatch/template/Makefile.inc
index 61b23ed..599cfcc 100644
--- a/util/mainboard/google/hatch/template/Makefile.inc
+++ b/util/mainboard/google/hatch/template/Makefile.inc
@@ -1,4 +1,6 @@
##
## SPDX-License-Identifier: GPL-2.0-only
-SPD_SOURCES =
+## TODO engineer creating a new variant needs to add SPDs for memory parts
+
+SPD_SOURCES = empty_ddr4
diff --git a/util/mainboard/google/volteer/template/memory/Makefile.inc b/util/mainboard/google/volteer/template/memory/Makefile.inc
new file mode 100644
index 0000000..3edeb96
--- /dev/null
+++ b/util/mainboard/google/volteer/template/memory/Makefile.inc
@@ -0,0 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+## Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+
+SPD_SOURCES = ddr4-spd-empty.hex
diff --git a/util/mainboard/google/volteer/template/memory/dram_id.generated.txt b/util/mainboard/google/volteer/template/memory/dram_id.generated.txt
new file mode 100644
index 0000000..fa24790
--- /dev/null
+++ b/util/mainboard/google/volteer/template/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/util/mainboard/google/volteer/template/memory/mem_parts_used.txt b/util/mainboard/google/volteer/template/memory/mem_parts_used.txt
new file mode 100644
index 0000000..106a705
--- /dev/null
+++ b/util/mainboard/google/volteer/template/memory/mem_parts_used.txt
@@ -0,0 +1,9 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# One part per line with an optional fixed ID in column 2.
+# Only include a fixed ID if it is required for legacy reasons!
+# Each part must also be listed in util/spd_tools/ddr4/global_ddr4_mem_parts.json.txt.
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# gen_part_id tool from util/spd_tools/ddr4.
+# See util/spd_tools/ddr4/README.md for more details and instructions.
+
+# Part Name, Fixed ID (optional)
diff --git a/util/mainboard/google/waddledee/template/memory/Makefile.inc b/util/mainboard/google/waddledee/template/memory/Makefile.inc
new file mode 100644
index 0000000..3edeb96
--- /dev/null
+++ b/util/mainboard/google/waddledee/template/memory/Makefile.inc
@@ -0,0 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+## Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+
+SPD_SOURCES = ddr4-spd-empty.hex
diff --git a/util/mainboard/google/waddledee/template/memory/dram_id.generated.txt b/util/mainboard/google/waddledee/template/memory/dram_id.generated.txt
new file mode 100644
index 0000000..fa24790
--- /dev/null
+++ b/util/mainboard/google/waddledee/template/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/util/mainboard/google/waddledee/template/memory/mem_parts_used.txt b/util/mainboard/google/waddledee/template/memory/mem_parts_used.txt
new file mode 100644
index 0000000..106a705
--- /dev/null
+++ b/util/mainboard/google/waddledee/template/memory/mem_parts_used.txt
@@ -0,0 +1,9 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# One part per line with an optional fixed ID in column 2.
+# Only include a fixed ID if it is required for legacy reasons!
+# Each part must also be listed in util/spd_tools/ddr4/global_ddr4_mem_parts.json.txt.
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# gen_part_id tool from util/spd_tools/ddr4.
+# See util/spd_tools/ddr4/README.md for more details and instructions.
+
+# Part Name, Fixed ID (optional)
diff --git a/util/mainboard/google/waddledoo/template/memory/Makefile.inc b/util/mainboard/google/waddledoo/template/memory/Makefile.inc
new file mode 100644
index 0000000..3edeb96
--- /dev/null
+++ b/util/mainboard/google/waddledoo/template/memory/Makefile.inc
@@ -0,0 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+## Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+
+SPD_SOURCES = ddr4-spd-empty.hex
diff --git a/util/mainboard/google/waddledoo/template/memory/dram_id.generated.txt b/util/mainboard/google/waddledoo/template/memory/dram_id.generated.txt
new file mode 100644
index 0000000..fa24790
--- /dev/null
+++ b/util/mainboard/google/waddledoo/template/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/util/mainboard/google/waddledoo/template/memory/mem_parts_used.txt b/util/mainboard/google/waddledoo/template/memory/mem_parts_used.txt
new file mode 100644
index 0000000..106a705
--- /dev/null
+++ b/util/mainboard/google/waddledoo/template/memory/mem_parts_used.txt
@@ -0,0 +1,9 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# One part per line with an optional fixed ID in column 2.
+# Only include a fixed ID if it is required for legacy reasons!
+# Each part must also be listed in util/spd_tools/ddr4/global_ddr4_mem_parts.json.txt.
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# gen_part_id tool from util/spd_tools/ddr4.
+# See util/spd_tools/ddr4/README.md for more details and instructions.
+
+# Part Name, Fixed ID (optional)
--
To view, visit https://review.coreboot.org/c/coreboot/+/45746
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I06dfb6103701bf8949180595f1e98fac48bcc585
Gerrit-Change-Number: 45746
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-MessageType: newchange
Bora Guvendik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44493 )
Change subject: commonlib/storage/mmc: Add DS and DDR50 speed modes
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44493/2/src/commonlib/storage/mmc.c
File src/commonlib/storage/mmc.c:
https://review.coreboot.org/c/coreboot/+/44493/2/src/commonlib/storage/mmc.…
PS2, Line 197: Increase
> Is it increasing, though?
Yes, initially "SDHCI bus clock: 0.097 MHz", then this changes to 25,50 or 200Mhz depending on the speed. I can change it to "Configure" if you think it is needed.
--
To view, visit https://review.coreboot.org/c/coreboot/+/44493
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic75a3815a47e99e054d2cea2e82757740caffd1a
Gerrit-Change-Number: 44493
Gerrit-PatchSet: 4
Gerrit-Owner: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.corp-partner.google.com>
Gerrit-Reviewer: Selma Bensaid <selma.bensaid(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Tue, 06 Oct 2020 17:51:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment
Marc Jones has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45968 )
Change subject: drivers/ipmi/ocp/ipmii_ocp.c: Clean up includes
......................................................................
drivers/ipmi/ocp/ipmii_ocp.c: Clean up includes
Remove #include "chip.h", which is not needed and causes a build
problem in a later change. Alphabetise the #includes.
Change-Id: If19ccd144bd352a196adccd75f9f6f139eae4e4a
Signed-off-by: Marc Jones <marcjones(a)sysproconsulting.com>
---
M src/drivers/ipmi/ocp/ipmi_ocp.c
R src/soc/intel/xeon_sp/cpx/cpx.h
R src/soc/intel/xeon_sp/skx/skx.h
3 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/45968/1
diff --git a/src/drivers/ipmi/ocp/ipmi_ocp.c b/src/drivers/ipmi/ocp/ipmi_ocp.c
index f96ce24..459b8e2 100644
--- a/src/drivers/ipmi/ocp/ipmi_ocp.c
+++ b/src/drivers/ipmi/ocp/ipmi_ocp.c
@@ -7,14 +7,14 @@
* end
*/
+#include <arch/cpu.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pnp.h>
-#include <string.h>
+#include <drivers/ipmi/ipmi_kcs.h>
#include <intelblocks/cpulib.h>
-#include <arch/cpu.h>
-#include "chip.h"
-#include "drivers/ipmi/ipmi_kcs.h"
+#include <string.h>
+
#include "ipmi_ocp.h"
static int ipmi_set_processor_information_param1(struct device *dev)
diff --git a/src/soc/intel/xeon_sp/cpx/chip.h b/src/soc/intel/xeon_sp/cpx/cpx.h
similarity index 100%
rename from src/soc/intel/xeon_sp/cpx/chip.h
rename to src/soc/intel/xeon_sp/cpx/cpx.h
diff --git a/src/soc/intel/xeon_sp/skx/chip.h b/src/soc/intel/xeon_sp/skx/skx.h
similarity index 100%
rename from src/soc/intel/xeon_sp/skx/chip.h
rename to src/soc/intel/xeon_sp/skx/skx.h
--
To view, visit https://review.coreboot.org/c/coreboot/+/45968
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If19ccd144bd352a196adccd75f9f6f139eae4e4a
Gerrit-Change-Number: 45968
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange