Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85922?usp=email )
Change subject: sb/intel/bd82x6x: Apply EHCI mapping to xhci_overcurrent_mapping
......................................................................
sb/intel/bd82x6x: Apply EHCI mapping to xhci_overcurrent_mapping
As xHCI ports 1-4 and OC pins 0-3 are all shared with EHCI,
xhci_overcurrent_mapping should never deviate from the USB 2 (EHCI)
overcurrent mapping specified in the USB port config in the devicetree.
Get the mapping from EHCI and free mainboards from specifying
it separately.
A Ghidra inspection of MRC binary indicates it is doing the same.
After this patch xhci_overcurrent_mapping becomes redundant and
will be removed in a follow-up.
Change-Id: Iab30a07c8df223e4053c5f28df5e5ed926f278f7
Signed-off-by: Keith Hui <buurin(a)gmail.com>
---
M src/southbridge/intel/bd82x6x/usb_xhci.c
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/85922/1
diff --git a/src/southbridge/intel/bd82x6x/usb_xhci.c b/src/southbridge/intel/bd82x6x/usb_xhci.c
index f71a505..358d107 100644
--- a/src/southbridge/intel/bd82x6x/usb_xhci.c
+++ b/src/southbridge/intel/bd82x6x/usb_xhci.c
@@ -7,6 +7,7 @@
#include "pch.h"
#include <device/pci_ehci.h>
#include <device/pci_ops.h>
+#include <southbridge/intel/common/rcba.h>
#include "chip.h"
static void usb_xhci_init(struct device *dev)
@@ -16,8 +17,8 @@
printk(BIOS_DEBUG, "XHCI: Setting up controller.. ");
- if (config->xhci_overcurrent_mapping)
- pci_write_config32(dev, XOCM, config->xhci_overcurrent_mapping);
+ reg32 = RCBA32(USBOCM1) & 0x0f0f0f0f;
+ pci_write_config32(dev, XOCM, reg32);
/* lock overcurrent map */
pci_or_config32(dev, 0x44, 1);
--
To view, visit https://review.coreboot.org/c/coreboot/+/85922?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Iab30a07c8df223e4053c5f28df5e5ed926f278f7
Gerrit-Change-Number: 85922
Gerrit-PatchSet: 1
Gerrit-Owner: Keith Hui <buurin(a)gmail.com>
Attention is currently required from: Pranava Y N, Subrata Banik.
Bora Guvendik has posted comments on this change by Bora Guvendik. ( https://review.coreboot.org/c/coreboot/+/85272?usp=email )
Change subject: mb/google/fatcat: Enable SAGv
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
> I am seeing a boot time regression of 55ms w/ this CL. @bora.guvendik@intel. […]
sure, created partner bug: 388768865 for boot time regression
--
To view, visit https://review.coreboot.org/c/coreboot/+/85272?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I340f4951fd33deadaac53edd30e2cf6bfc2a750b
Gerrit-Change-Number: 85272
Gerrit-PatchSet: 2
Gerrit-Owner: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Gerrit-Comment-Date: Thu, 09 Jan 2025 18:11:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Pranava Y N <pranavayn(a)google.com>
Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85895?usp=email )
Change subject: Makefile: Fix indentation in help_coreboot
......................................................................
Makefile: Fix indentation in help_coreboot
Fix indentation to make it aesthetically more pleasing.
Change-Id: I51b052e4d9d358e92c8105cc23997d6d35bc4d8d
Signed-off-by: Andy <andy(a)9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85895
Reviewed-by: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Reviewed-by: Maximilian Brune <maximilian.brune(a)9elements.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Christian Walter <christian.walter(a)9elements.com>
---
M Makefile
1 file changed, 12 insertions(+), 12 deletions(-)
Approvals:
Felix Singer: Looks good to me, approved
Christian Walter: Looks good to me, approved
build bot (Jenkins): Verified
Maximilian Brune: Looks good to me, approved
diff --git a/Makefile b/Makefile
index 491e702..5e45e16 100644
--- a/Makefile
+++ b/Makefile
@@ -88,21 +88,21 @@
help_coreboot help::
@echo '*** coreboot platform targets ***'
@echo ' Use "make [target] V=1" for extra build debug information'
- @echo ' all - Build coreboot'
- @echo ' clean - Remove coreboot build artifacts'
- @echo ' distclean - Remove build artifacts and config files'
- @echo ' sphinx - Build sphinx documentation for coreboot'
- @echo ' sphinx-lint - Build sphinx documentation for coreboot with warnings as errors'
- @echo ' filelist - Show files used in current build'
- @echo ' printall - Print makefile info for debugging'
- @echo ' gitconfig - Set up git to submit patches to coreboot'
- @echo ' ctags / ctags-project - Make ctags file for all of coreboot or current board'
+ @echo ' all - Build coreboot'
+ @echo ' clean - Remove coreboot build artifacts'
+ @echo ' distclean - Remove build artifacts and config files'
+ @echo ' sphinx - Build sphinx documentation for coreboot'
+ @echo ' sphinx-lint - Build sphinx documentation for coreboot with warnings as errors'
+ @echo ' filelist - Show files used in current build'
+ @echo ' printall - Print makefile info for debugging'
+ @echo ' gitconfig - Set up git to submit patches to coreboot'
+ @echo ' ctags / ctags-project - Make ctags file for all of coreboot or current board'
@echo ' cscope / cscope-project - Make cscope.out file for coreboot or current board'
@echo
@echo '*** site-local related targets ***'
- @echo ' symlink - Create symbolic links from site-local into coreboot tree'
- @echo ' clean-symlink - Remove symbolic links created by "make symlink"'
- @echo ' cleanall-symlink - Remove all symbolic links in the coreboot tree'
+ @echo ' symlink - Create symbolic links from site-local into coreboot tree'
+ @echo ' clean-symlink - Remove symbolic links created by "make symlink"'
+ @echo ' cleanall-symlink - Remove all symbolic links in the coreboot tree'
@echo
# This include must come _before_ the pattern rules below!
--
To view, visit https://review.coreboot.org/c/coreboot/+/85895?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I51b052e4d9d358e92c8105cc23997d6d35bc4d8d
Gerrit-Change-Number: 85895
Gerrit-PatchSet: 3
Gerrit-Owner: Andy Ebrahiem <ahmet.ebrahiem(a)9elements.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Attention is currently required from: Andy Ebrahiem, Martin L Roth.
Felix Singer has posted comments on this change by Andy Ebrahiem. ( https://review.coreboot.org/c/coreboot/+/85895?usp=email )
Change subject: Makefile: Fix indentation in help_coreboot
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/85895?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I51b052e4d9d358e92c8105cc23997d6d35bc4d8d
Gerrit-Change-Number: 85895
Gerrit-PatchSet: 2
Gerrit-Owner: Andy Ebrahiem <ahmet.ebrahiem(a)9elements.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Andy Ebrahiem <ahmet.ebrahiem(a)9elements.com>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Comment-Date: Thu, 09 Jan 2025 17:51:49 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Pranava Y N.
Jayvik Desai has posted comments on this change by Jayvik Desai. ( https://review.coreboot.org/c/coreboot/+/85920?usp=email )
Change subject: mb/google/fatcat: Select DRIVER_INTEL_ISH_HAS_MAIN_FW for fatcat
......................................................................
Patch Set 4:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/85920/comment/16c568c2_cdd8de45?us… :
PS3, Line 7: select
> Select ?
Acknowledged
https://review.coreboot.org/c/coreboot/+/85920/comment/56bdbe08_d311a5b2?us… :
PS3, Line 9: This patch selects the ISH main firmware Kconfig to prevent google/fatcat from trying to retrieve a dummy ISH SHIM firmware version, since ISH FW in google/fatcat will be part of the kernel firmware image.
> looks to me a wrap up test ? should limit the commit msg < 72 char per line
Acknowledged
--
To view, visit https://review.coreboot.org/c/coreboot/+/85920?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Id24394cb6c6dbaed13c87612da341e47eb69895f
Gerrit-Change-Number: 85920
Gerrit-PatchSet: 4
Gerrit-Owner: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Gerrit-Comment-Date: Thu, 09 Jan 2025 17:50:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Attention is currently required from: Jayvik Desai, Pranava Y N.
Hello Pranava Y N, Subrata Banik, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85920?usp=email
to look at the new patch set (#5).
Change subject: mb/google/fatcat: Select DRIVER_INTEL_ISH_HAS_MAIN_FW for fatcat
......................................................................
mb/google/fatcat: Select DRIVER_INTEL_ISH_HAS_MAIN_FW for fatcat
This patch selects the ISH main firmware Kconfig to prevent
google/fatcat from trying to retrieve a dummy ISH SHIM firmware version,
since ISH FW in google/fatcat will be part of the kernel firmware image.
BUG=b:370984186
TEST=Build and boot google/fatcat, config exists in coreboot.config
Change-Id: Id24394cb6c6dbaed13c87612da341e47eb69895f
Signed-off-by: Jayvik Desai <jayvik(a)google.com>
---
M src/mainboard/google/fatcat/Kconfig
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/85920/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/85920?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Id24394cb6c6dbaed13c87612da341e47eb69895f
Gerrit-Change-Number: 85920
Gerrit-PatchSet: 5
Gerrit-Owner: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jayvik Desai <jayvik(a)google.com>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Attention is currently required from: Jayvik Desai, Pranava Y N.
Subrata Banik has posted comments on this change by Jayvik Desai. ( https://review.coreboot.org/c/coreboot/+/85920?usp=email )
Change subject: mb/google/fatcat: Select DRIVER_INTEL_ISH_HAS_MAIN_FW for fatcat
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/85920?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Id24394cb6c6dbaed13c87612da341e47eb69895f
Gerrit-Change-Number: 85920
Gerrit-PatchSet: 4
Gerrit-Owner: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jayvik Desai <jayvik(a)google.com>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Gerrit-Comment-Date: Thu, 09 Jan 2025 17:48:15 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Sean Rhodes.
Matt DeVillier has posted comments on this change by Sean Rhodes. ( https://review.coreboot.org/c/coreboot/+/85714?usp=email )
Change subject: mb/starlabs/starbook: Add AlderLake-N variant
......................................................................
Patch Set 10:
(1 comment)
File src/mainboard/starlabs/starbook/variants/adl_n/ramstage.c:
https://review.coreboot.org/c/coreboot/+/85714/comment/c9c376d0_03be1f1f?us… :
PS10, Line 15:
remove extra final newline
--
To view, visit https://review.coreboot.org/c/coreboot/+/85714?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Id45e31b61046748a57c8104081f689057621bb04
Gerrit-Change-Number: 85714
Gerrit-PatchSet: 10
Gerrit-Owner: Sean Rhodes <sean(a)starlabs.systems>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Sean Rhodes <sean(a)starlabs.systems>
Gerrit-Comment-Date: Thu, 09 Jan 2025 17:46:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No