mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
coreboot/hp8300cmt: purge xhci_overcurrent_mapping
This prevents a build error, as the variable is no longer used at all by coreboot (EHCI mapping is used as reference instead). Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
From b313c1d4bae17fc6eb3a8217c503187d1cd5453d Mon Sep 17 00:00:00 2001
|
||||
From: Leah Rowe <leah@libreboot.org>
|
||||
Date: Tue, 22 Apr 2025 10:21:59 +0100
|
||||
Subject: [PATCH 1/1] hp/8300cmt: remove xhci_overcurrent_mapping
|
||||
|
||||
No longer needed, as per the following commit:
|
||||
|
||||
commit a3d1e6c4806e6c0e2e744be3a03fce12f21778d1
|
||||
Author: Keith Hui <buurin@gmail.com>
|
||||
Date: Tue Dec 31 18:19:31 2024 -0500
|
||||
|
||||
sb/intel/bd82x6x: Apply EHCI mapping to xhci_overcurrent_mapping
|
||||
|
||||
Removing this from the devicetree also allows the
|
||||
board to compile, otherwise an error is thrown:
|
||||
|
||||
build/mainboard/hp/compaq_elite_8300_cmt/static.c:147:10: error: 'const struct southbridge_intel_bd82x6x_config' has no member named 'xhci_overcurrent_mapping'
|
||||
147 | .xhci_overcurrent_mapping = 0x00000c03,
|
||||
| ^~~~~~~~~~~~~~~~~~~~~~~~
|
||||
build/mainboard/hp/compaq_elite_8300_cmt/static.c:147:37: error: excess elements in struct initializer [-Werror]
|
||||
147 | .xhci_overcurrent_mapping = 0x00000c03,
|
||||
|
||||
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
||||
---
|
||||
src/mainboard/hp/compaq_elite_8300_cmt/devicetree.cb | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/mainboard/hp/compaq_elite_8300_cmt/devicetree.cb b/src/mainboard/hp/compaq_elite_8300_cmt/devicetree.cb
|
||||
index 3d21739b72..3a0b6d5c59 100644
|
||||
--- a/src/mainboard/hp/compaq_elite_8300_cmt/devicetree.cb
|
||||
+++ b/src/mainboard/hp/compaq_elite_8300_cmt/devicetree.cb
|
||||
@@ -25,7 +25,6 @@ chip northbridge/intel/sandybridge
|
||||
register "spi_lvscc" = "0x2005"
|
||||
register "spi_uvscc" = "0x2005"
|
||||
register "superspeed_capable_ports" = "0x0000000f"
|
||||
- register "xhci_overcurrent_mapping" = "0x00000c03"
|
||||
register "xhci_switchable_ports" = "0x0000000f"
|
||||
register "usb_port_config" = "{
|
||||
{ 1, 0, 0 },
|
||||
--
|
||||
2.39.5
|
||||
|
||||
Reference in New Issue
Block a user