Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/59884 )
Change subject: soc/intel/tigerlake: Drop unused SataEnable setting
......................................................................
soc/intel/tigerlake: Drop unused SataEnable setting
`SataEnable` is set by some boards, but it doesn't have any effect since
its related FSP option is hooked up to the devicetree state. Thus, drop
it.
Change-Id: Id645bfcade7ca1d495fb8df538113b3d10392a82
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59884
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
M src/mainboard/google/volteer/variants/baseboard/devicetree.cb
M src/soc/intel/tigerlake/chip.h
3 files changed, 0 insertions(+), 3 deletions(-)
Approvals:
build bot (Jenkins): Verified
Angel Pons: Looks good to me, approved
Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb b/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
index 9ed8fb2..643bdc1 100644
--- a/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
@@ -25,7 +25,6 @@
# FSP configuration
register "SaGv" = "SaGv_Disabled"
- register "SataEnable" = "1"
register "SataMode" = "0"
register "SataSalpSupport" = "1"
diff --git a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb
index eee29ef..ca9661f 100644
--- a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb
@@ -146,7 +146,6 @@
register "PcieClkSrcUsage[6]" = "PCIE_CLK_NOTUSED"
# Enable SATA
- register "SataEnable" = "1"
register "SataMode" = "0"
register "SataSalpSupport" = "1"
register "SataPortsEnable[0]" = "0"
diff --git a/src/soc/intel/tigerlake/chip.h b/src/soc/intel/tigerlake/chip.h
index e729e8c..09c8db1 100644
--- a/src/soc/intel/tigerlake/chip.h
+++ b/src/soc/intel/tigerlake/chip.h
@@ -215,7 +215,6 @@
uint8_t SlowSlewRate;
/* SATA related */
- uint8_t SataEnable;
uint8_t SataMode;
uint8_t SataSalpSupport;
uint8_t SataPortsEnable[8];
3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit https://review.coreboot.org/c/coreboot/+/59884
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id645bfcade7ca1d495fb8df538113b3d10392a82
Gerrit-Change-Number: 59884
Gerrit-PatchSet: 6
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: merged
Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/59926 )
Change subject: mb/starlabs/labtop: Enable SMBus in Device Tree
......................................................................
mb/starlabs/labtop: Enable SMBus in Device Tree
Signed-off-by: Sean Rhodes <sean(a)starlabs.systems>
Change-Id: I8bc3025331bb25b02712b5d2b654f7997f0aba4a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59926
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Felix Singer <felixsinger(a)posteo.net>
---
M src/mainboard/starlabs/labtop/variants/tgl/devicetree.cb
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
build bot (Jenkins): Verified
Felix Singer: Looks good to me, approved
diff --git a/src/mainboard/starlabs/labtop/variants/tgl/devicetree.cb b/src/mainboard/starlabs/labtop/variants/tgl/devicetree.cb
index c8abce9..5c55dce 100644
--- a/src/mainboard/starlabs/labtop/variants/tgl/devicetree.cb
+++ b/src/mainboard/starlabs/labtop/variants/tgl/devicetree.cb
@@ -232,7 +232,7 @@
subsystemid 0x10ec 0x1200
register "PchHdaAudioLinkHdaEnable" = "1"
end
- device pci 1f.4 off end # SMBus
+ device pci 1f.4 on end # SMBus
device pci 1f.5 on end # PCH SPI
device pci 1f.6 off end # GbE
device pci 1f.7 off end # TH
--
To view, visit https://review.coreboot.org/c/coreboot/+/59926
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8bc3025331bb25b02712b5d2b654f7997f0aba4a
Gerrit-Change-Number: 59926
Gerrit-PatchSet: 2
Gerrit-Owner: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Sean Rhodes.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59926 )
Change subject: mb/starlabs/labtop: Enable SMBus in Device Tree
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/59926
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8bc3025331bb25b02712b5d2b654f7997f0aba4a
Gerrit-Change-Number: 59926
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Comment-Date: Thu, 09 Dec 2021 21:52:37 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Felix Singer, Jeremy Soller, Nick Vaccaro, Patrick Rudolph.
Hello build bot (Jenkins), Tim Crawford, Jeremy Soller, Tim Wawrzynczak, Sumeet R Pawnikar, Nick Vaccaro, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59886
to look at the new patch set (#6).
Change subject: soc/intel/tigerlake: Hook up DPTF device to devicetree
......................................................................
soc/intel/tigerlake: Hook up DPTF device to devicetree
Hook up `Device4Enable` FSP setting to devicetree state and drop its
redundant devicetree setting `Device4Enable`.
The following mainboards enable the DPTF device in the devicetree
despite `Device4Enable` is not being set.
* google/deltaur
Thus, set it to off to keep the current state unchanged.
Change-Id: Ic7636fc4f63d4beab92e742a6882ac55af2565bc
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
---
M src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
M src/mainboard/google/volteer/variants/baseboard/devicetree.cb
M src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb
M src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb
M src/mainboard/starlabs/labtop/variants/tgl/devicetree.cb
M src/mainboard/system76/darp7/devicetree.cb
M src/mainboard/system76/galp5/devicetree.cb
M src/mainboard/system76/gaze16/devicetree.cb
M src/mainboard/system76/lemp10/devicetree.cb
M src/mainboard/system76/oryp8/devicetree.cb
M src/soc/intel/tigerlake/chip.h
M src/soc/intel/tigerlake/fsp_params.c
12 files changed, 8 insertions(+), 30 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/59886/6
--
To view, visit https://review.coreboot.org/c/coreboot/+/59886
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic7636fc4f63d4beab92e742a6882ac55af2565bc
Gerrit-Change-Number: 59886
Gerrit-PatchSet: 6
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Jeremy Soller <jeremy(a)system76.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Tim Crawford <tcrawford(a)system76.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Attention: Jeremy Soller <jeremy(a)system76.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Raul Rangel, Patrick Georgi, Tim Wawrzynczak.
Hello Raul Rangel, Patrick Georgi, Tim Wawrzynczak,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/60018
to look at the new patch set (#2).
Change subject: cbfstool: Do host space address conversion earlier when adding files
......................................................................
cbfstool: Do host space address conversion earlier when adding files
A simple code simplification where we can pull the call to
convert_addr_space() in cbfs_add_component() earlier, so that we can
avoid having to duplicate it in cbfstool_convert_fsp(). Host space
addresses in this function can only occur if the user manually provided
them via the --base-address flag -- all other functions (e.g.
do_cbfs_locate()) already work in the flash address space anyway. This
should also fix a tiny issue where --gen-attribute might have previously
encoded the address as given in CBFS -- it probably makes more sense to
always have it store a consistent format (i.e. always flash address).
Also revert the unnecessary check for --base-address in
add_topswap_bootblock(). On closer inspection, the function actually
doesn't use the passed in *offset at all and uses it purely as an
out-parameter. So while our current Makefile does pass --base-address
when adding the bootblock, it actually has no effect and is redundant
for the topswap case.
Signed-off-by: Julius Werner <jwerner(a)chromium.org>
Change-Id: Idf4721c5b0700789ddb81c1618d740b3e7f486cb
---
M util/cbfstool/cbfstool.c
1 file changed, 9 insertions(+), 22 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/60018/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/60018
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idf4721c5b0700789ddb81c1618d740b3e7f486cb
Gerrit-Change-Number: 60018
Gerrit-PatchSet: 2
Gerrit-Owner: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <patrick(a)coreboot.org>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Patrick Georgi <patrick(a)coreboot.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Patrick Georgi.
Hello Patrick Georgi,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/60018
to review the following change.
Change subject: cbfstool: Do host space address conversion earlier when adding files
......................................................................
cbfstool: Do host space address conversion earlier when adding files
A simple code simplification where we can pull the call to
convert_addr_space() in cbfs_add_component() earlier, so that we can
avoid having to duplicate it in cbfstool_convert_fsp(). Host space
addresses in this function can only occur if the user manually provided
them via the --base-address flag -- all other functions (e.g.
do_cbfs_locate()) already work in the flash address space anyway. This
should also fix a tiny issue where --gen-attribute might have previously
encoded the address as given in CBFS -- it probably makes more sense to
always have it store a consistent format (i.e. always flash address).
Also revert the unnecessary check for --base-address in
add_topswap_bootblock(). On closer inspection, the function actually
doesn't use the passed in *offset at all and uses it purely as an
out-parameter. So while our current Makefile does pass --base-address
when adding the bootblock, it actually has no effect and is redundant
for the topswap case.
Signed-off-by: Julius Werner <jwerner(a)chromium.org>
Change-Id: Idf4721c5b0700789ddb81c1618d740b3e7f486cb
---
M util/cbfstool/cbfstool.c
1 file changed, 10 insertions(+), 22 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/60018/1
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 87dcbb4..0f1bc9e 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -779,11 +779,6 @@
{
size_t bb_buf_size = buffer_size(buffer);
- if (!param.baseaddress_assigned) {
- ERROR("--topswap-size must also have --base-address\n");
- return 1;
- }
-
if (bb_buf_size > param.topswap_size) {
ERROR("Bootblock bigger than the topswap boundary\n");
ERROR("size = %zd, ts = %d\n", bb_buf_size,
@@ -841,6 +836,7 @@
uint32_t offset = param.baseaddress_assigned ? param.baseaddress : 0;
size_t len_align = 0;
+
if (param.alignment && param.baseaddress_assigned) {
ERROR("Cannot specify both alignment and base address\n");
return 1;
@@ -909,6 +905,10 @@
if (add_topswap_bootblock(&buffer, &offset))
goto error;
+ /* With --base-address we allow host space addresses -- if so, convert it here. */
+ if (IS_HOST_SPACE_ADDRESS(offset))
+ offset = convert_addr_space(param.image_region, offset);
+
if (convert && convert(&buffer, &offset, header) != 0) {
ERROR("Failed to parse file '%s'.\n", filename);
goto error;
@@ -975,9 +975,6 @@
goto error;
}
- if (IS_HOST_SPACE_ADDRESS(offset))
- offset = convert_addr_space(param.image_region, offset);
-
if (cbfs_add_entry(&image, &buffer, offset, header, len_align) != 0) {
ERROR("Failed to add '%s' into ROM image.\n", filename);
goto error;
@@ -1079,10 +1076,7 @@
if (do_cbfs_locate(offset, 0))
return -1;
}
- if (!IS_HOST_SPACE_ADDRESS(*offset))
- address = convert_addr_space(param.image_region, *offset);
- else
- address = *offset;
+ address = *offset;
} else {
if (param.baseaddress_assigned == 0) {
INFO("Honoring pre-linked FSP module, no relocation.\n");
@@ -1143,16 +1137,10 @@
return -1;
if (param.stage_xip) {
- /*
- * Ensure the address is a memory mapped one. This assumes
- * x86 semantics about the boot media being directly mapped
- * below 4GiB in the CPU address space.
- **/
- *offset = convert_addr_space(param.image_region, *offset);
-
- ret = parse_elf_to_xip_stage(buffer, &output, *offset,
- param.ignore_section,
- stageheader);
+ uint32_t host_space_address = convert_addr_space(param.image_region, *offset);
+ assert(IS_HOST_SPACE_ADDRESS(host_space_address));
+ ret = parse_elf_to_xip_stage(buffer, &output, host_space_address,
+ param.ignore_section, stageheader);
} else {
ret = parse_elf_to_stage(buffer, &output, param.ignore_section,
stageheader);
--
To view, visit https://review.coreboot.org/c/coreboot/+/60018
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idf4721c5b0700789ddb81c1618d740b3e7f486cb
Gerrit-Change-Number: 60018
Gerrit-PatchSet: 1
Gerrit-Owner: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <patrick(a)coreboot.org>
Gerrit-Attention: Patrick Georgi <patrick(a)coreboot.org>
Gerrit-MessageType: newchange
Attention is currently required from: Maulik V Vaghela, Subrata Banik, Patrick Rudolph.
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59666 )
Change subject: soc/intel/alderlake: Implement function to map physical port to EC port
......................................................................
Patch Set 15: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/59666
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3735b7c7794b46123aba3beac8c0268ce72d658c
Gerrit-Change-Number: 59666
Gerrit-PatchSet: 15
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
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-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Attention: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 09 Dec 2021 21:13:15 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Maulik V Vaghela, Sugnan Prabhu S, Subrata Banik, Patrick Rudolph.
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59665 )
Change subject: drivers/intel/usb4/retimer: Add function to correct EC port mapping
......................................................................
Patch Set 10: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/59665
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia7a5e63838e6529196bd211516e4d665b084f79e
Gerrit-Change-Number: 59665
Gerrit-PatchSet: 10
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Sugnan Prabhu S <sugnan.prabhu.s(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Attention: Sugnan Prabhu S <sugnan.prabhu.s(a)intel.com>
Gerrit-Attention: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 09 Dec 2021 21:13:03 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment