summaryrefslogtreecommitdiff
path: root/src/mainboard/google/stout
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2024-02-05 19:18:43 -0500
committerMartin L Roth <gaumless@gmail.com>2024-06-08 00:19:23 +0000
commita911b758482025d46e132eeb2ed0279b65692075 (patch)
treefb8475ef03a0365132fefb82bc248468ef0a4784 /src/mainboard/google/stout
parentee126348726b24fbf6e5435bb2cf15417959a8f7 (diff)
mb/*: Remove old USB configurations from SNB/bd82x6x boards
Remove USB configurations and data structures from northbridge devicetree (SNB+MRC boards) and bootblock/romstage C code (native-only SNB boards). All USB configurations are drawn from southbridge devicetree going forward. Change-Id: Ie1cd21077136998a6e90050c95263f2efed68a67 Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81882 Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/stout')
-rw-r--r--src/mainboard/google/stout/devicetree.cb16
-rw-r--r--src/mainboard/google/stout/early_init.c18
2 files changed, 0 insertions, 34 deletions
diff --git a/src/mainboard/google/stout/devicetree.cb b/src/mainboard/google/stout/devicetree.cb
index 36e8ba79f6..0211921c38 100644
--- a/src/mainboard/google/stout/devicetree.cb
+++ b/src/mainboard/google/stout/devicetree.cb
@@ -22,22 +22,6 @@ chip northbridge/intel/sandybridge
# FIXME: Native raminit requires reduced max clock
register "max_mem_clock_mhz" = "CONFIG(USE_NATIVE_RAMINIT) ? 666 : 800"
- register "usb_port_config" = "{
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 0, 1, 0x0000 },
- { 1, 1, 0x0040 },
- { 1, 1, 0x0040 },
- { 1, 1, 0x0040 },
- { 0, 1, 0x0000 },
- { 0, 1, 0x0000 },
- { 0, 5, 0x0000 },
- { 1, 4, 0x0040 },
- { 0, 5, 0x0000 },
- { 0, 5, 0x0000 },
- { 0, 5, 0x0000 },
- { 1, 5, 0x0040 },}"
-
register "usb3.mode" = "2" # Auto
register "usb3.hs_port_switch_mask" = "3" # Ports 0 & 1
register "usb3.preboot_support" = "0" # No PreOS boot support
diff --git a/src/mainboard/google/stout/early_init.c b/src/mainboard/google/stout/early_init.c
index e6e6227646..178d270da7 100644
--- a/src/mainboard/google/stout/early_init.c
+++ b/src/mainboard/google/stout/early_init.c
@@ -90,21 +90,3 @@ void mainboard_early_init(int s3resume)
early_ec_init();
}
}
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* enabled USB oc pin length */
- {1, 0, 0}, /* P0: USB 3.0 1 (OC0) */
- {1, 0, 0}, /* P1: USB 3.0 2 (OC0) */
- {0, 0, 0}, /* P2: Empty */
- {1, 0, -1}, /* P3: Camera (no OC) */
- {1, 0, -1}, /* P4: WLAN (no OC) */
- {1, 0, -1}, /* P5: WWAN (no OC) */
- {0, 0, 0}, /* P6: Empty */
- {0, 0, 0}, /* P7: Empty */
- {0, 0, 0}, /* P8: Empty */
- {1, 0, 4}, /* P9: USB 2.0 (AUO4) (OC4) */
- {0, 0, 0}, /* P10: Empty */
- {0, 0, 0}, /* P11: Empty */
- {0, 0, 0}, /* P12: Empty */
- {1, 0, -1}, /* P13: Bluetooth (no OC) */
-};