summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/apple/macbookair4_2/early_init.c18
-rw-r--r--src/mainboard/asrock/b75m-itx/Makefile.mk2
-rw-r--r--src/mainboard/asrock/b75m-itx/early_init.c9
-rw-r--r--src/mainboard/asrock/b75pro3-m/early_init.c17
-rw-r--r--src/mainboard/asrock/h77pro4-m/early_init.c17
-rw-r--r--src/mainboard/asus/h61-series/variants/h61m-cs/early_init.c17
-rw-r--r--src/mainboard/asus/h61-series/variants/p8h61-m_lx/early_init.c17
-rw-r--r--src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/early_init.c17
-rw-r--r--src/mainboard/asus/h61-series/variants/p8h61-m_pro/early_init.c17
-rw-r--r--src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/early_init.c17
-rw-r--r--src/mainboard/asus/maximus_iv_gene-z/early_init.c17
-rw-r--r--src/mainboard/asus/p8x7x-series/devicetree.cb5
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8c_ws/early_init.c17
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8h77-v/early_init.c17
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8z77-m/early_init.c18
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb5
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/early_init.c18
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb5
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c17
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/early_init.c17
-rw-r--r--src/mainboard/biostar/th61-itx/Makefile.mk2
-rw-r--r--src/mainboard/compulab/intense_pc/early_init.c17
-rw-r--r--src/mainboard/dell/snb_ivb_workstations/early_init.c17
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3h/early_init.c17
-rw-r--r--src/mainboard/gigabyte/ga-h61m-series/early_init.c17
-rw-r--r--src/mainboard/google/butterfly/devicetree.cb16
-rw-r--r--src/mainboard/google/butterfly/early_init.c18
-rw-r--r--src/mainboard/google/link/devicetree.cb16
-rw-r--r--src/mainboard/google/link/early_init.c18
-rw-r--r--src/mainboard/google/parrot/devicetree.cb16
-rw-r--r--src/mainboard/google/parrot/early_init.c19
-rw-r--r--src/mainboard/google/stout/devicetree.cb16
-rw-r--r--src/mainboard/google/stout/early_init.c18
-rw-r--r--src/mainboard/intel/dcp847ske/devicetree.cb16
-rw-r--r--src/mainboard/intel/dcp847ske/early_southbridge.c5
-rw-r--r--src/mainboard/intel/dcp847ske/usb.h21
-rw-r--r--src/mainboard/intel/dq67sw/early_init.c18
-rw-r--r--src/mainboard/intel/emeraldlake2/devicetree.cb16
-rw-r--r--src/mainboard/intel/emeraldlake2/early_init.c18
-rw-r--r--src/mainboard/kontron/ktqm77/devicetree.cb15
-rw-r--r--src/mainboard/kontron/ktqm77/early_init.c18
-rw-r--r--src/mainboard/lenovo/l520/Makefile.mk2
-rw-r--r--src/mainboard/lenovo/l520/early_init.c21
-rw-r--r--src/mainboard/lenovo/s230u/early_init.c17
-rw-r--r--src/mainboard/lenovo/t420/early_init.c18
-rw-r--r--src/mainboard/lenovo/t420s/early_init.c17
-rw-r--r--src/mainboard/lenovo/t430/early_init.c18
-rw-r--r--src/mainboard/lenovo/x220/Makefile.mk1
-rw-r--r--src/mainboard/lenovo/x220/devicetree.cb16
-rw-r--r--src/mainboard/lenovo/x220/variants/x1/romstage.c20
-rw-r--r--src/mainboard/lenovo/x220/variants/x220/romstage.c20
-rw-r--r--src/mainboard/roda/rv11/variants/rv11/devicetree.cb16
-rw-r--r--src/mainboard/roda/rv11/variants/rv11/early_init.c18
-rw-r--r--src/mainboard/roda/rv11/variants/rw11/devicetree.cb15
-rw-r--r--src/mainboard/roda/rv11/variants/rw11/early_init.c18
-rw-r--r--src/mainboard/samsung/lumpy/devicetree.cb16
-rw-r--r--src/mainboard/samsung/lumpy/early_init.c18
-rw-r--r--src/mainboard/samsung/stumpy/devicetree.cb16
-rw-r--r--src/mainboard/samsung/stumpy/early_init.c18
-rw-r--r--src/mainboard/sapphire/pureplatinumh61/early_init.c17
-rw-r--r--src/northbridge/intel/sandybridge/chip.h20
-rw-r--r--src/southbridge/intel/bd82x6x/pch.h1
62 files changed, 0 insertions, 941 deletions
diff --git a/src/mainboard/apple/macbookair4_2/early_init.c b/src/mainboard/apple/macbookair4_2/early_init.c
index fc4b215344..8eeb48291a 100644
--- a/src/mainboard/apple/macbookair4_2/early_init.c
+++ b/src/mainboard/apple/macbookair4_2/early_init.c
@@ -1,24 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <northbridge/intel/sandybridge/raminit.h>
-#include <southbridge/intel/bd82x6x/pch.h>
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, -1 }, /* USB HUB 1 */
- { 0, 0, -1 }, /* Unused */
- { 0, 0, -1 }, /* Unused */
- { 0, 0, -1 }, /* Unused */
- { 0, 0, -1 }, /* Unused */
- { 0, 0, -1 }, /* Unused */
- { 0, 0, -1 }, /* Unused */
- { 0, 0, -1 }, /* Unused */
- { 1, 0, -1 }, /* USB HUB 2 */
- { 1, 0, -1 }, /* Camera */
- { 0, 0, -1 }, /* Unused */
- { 0, 0, -1 }, /* Unused */
- { 0, 0, -1 }, /* Unused */
- { 0, 0, -1 }, /* Unused */
-};
void mb_get_spd_map(struct spd_info *spdi)
{
diff --git a/src/mainboard/asrock/b75m-itx/Makefile.mk b/src/mainboard/asrock/b75m-itx/Makefile.mk
index d1b484d217..ae57dabd07 100644
--- a/src/mainboard/asrock/b75m-itx/Makefile.mk
+++ b/src/mainboard/asrock/b75m-itx/Makefile.mk
@@ -3,6 +3,4 @@
bootblock-y += gpio.c
romstage-y += gpio.c
-bootblock-y += early_init.c
-romstage-y += early_init.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/asrock/b75m-itx/early_init.c b/src/mainboard/asrock/b75m-itx/early_init.c
deleted file mode 100644
index b70794aeba..0000000000
--- a/src/mainboard/asrock/b75m-itx/early_init.c
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#include <bootblock_common.h>
-#include <southbridge/intel/bd82x6x/pch.h>
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- {1, 0, 0}, {1, 0, 0}, {1, 1, 1}, {1, 1, 1}, {1, 1, 2}, {1, 1, 2}, {1, 0, 3},
- {1, 0, 3}, {1, 0, 4}, {1, 0, 4}, {1, 0, 6}, {1, 1, 5}, {1, 1, 5}, {1, 0, 6},
-};
diff --git a/src/mainboard/asrock/b75pro3-m/early_init.c b/src/mainboard/asrock/b75pro3-m/early_init.c
index 4052b6f22d..1ffd896e26 100644
--- a/src/mainboard/asrock/b75pro3-m/early_init.c
+++ b/src/mainboard/asrock/b75pro3-m/early_init.c
@@ -8,23 +8,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6776_SP1)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 1, 1 },
- { 1, 1, 1 },
- { 1, 1, 2 },
- { 1, 1, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 1, 5 },
- { 1, 1, 5 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
/* Set GPIOs on superio, enable UART */
diff --git a/src/mainboard/asrock/h77pro4-m/early_init.c b/src/mainboard/asrock/h77pro4-m/early_init.c
index 4637378456..df8f043657 100644
--- a/src/mainboard/asrock/h77pro4-m/early_init.c
+++ b/src/mainboard/asrock/h77pro4-m/early_init.c
@@ -21,23 +21,6 @@ enum cpu_fan_tach_src {
CPU_FAN_HEADER_BOTH
};
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 1, 1 },
- { 1, 1, 1 },
- { 1, 1, 2 },
- { 1, 1, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 1, 5 },
- { 1, 1, 5 },
- { 1, 0, 6 },
-};
-
/*
* The tachometer signal that goes to CPUFANIN of the Super I/O is set via
* GPIOs.
diff --git a/src/mainboard/asus/h61-series/variants/h61m-cs/early_init.c b/src/mainboard/asus/h61-series/variants/h61m-cs/early_init.c
index 50e225a0d4..bec2f6d5f6 100644
--- a/src/mainboard/asus/h61-series/variants/h61m-cs/early_init.c
+++ b/src/mainboard/asus/h61-series/variants/h61m-cs/early_init.c
@@ -10,23 +10,6 @@
#define SIO_DEV PNP_DEV(SIO_PORT, 0)
#define ACPI_DEV PNP_DEV(SIO_PORT, NCT6779D_ACPI)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_pnp_enter_conf_state(SIO_DEV);
diff --git a/src/mainboard/asus/h61-series/variants/p8h61-m_lx/early_init.c b/src/mainboard/asus/h61-series/variants/p8h61-m_lx/early_init.c
index 5f5c684aa2..2217a6c735 100644
--- a/src/mainboard/asus/h61-series/variants/p8h61-m_lx/early_init.c
+++ b/src/mainboard/asus/h61-series/variants/p8h61-m_lx/early_init.c
@@ -7,23 +7,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6776_SP1)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
diff --git a/src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/early_init.c b/src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/early_init.c
index 404a8503bf..8f716dae35 100644
--- a/src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/early_init.c
+++ b/src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/early_init.c
@@ -9,23 +9,6 @@
#define GLOBAL_DEV PNP_DEV(0x2e, 0)
#define ACPI_DEV PNP_DEV(0x2e, NCT6779D_ACPI)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_pnp_enter_conf_state(GLOBAL_DEV);
diff --git a/src/mainboard/asus/h61-series/variants/p8h61-m_pro/early_init.c b/src/mainboard/asus/h61-series/variants/p8h61-m_pro/early_init.c
index 1c8d84442b..d7cd486b43 100644
--- a/src/mainboard/asus/h61-series/variants/p8h61-m_pro/early_init.c
+++ b/src/mainboard/asus/h61-series/variants/p8h61-m_pro/early_init.c
@@ -10,23 +10,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6776_SP1)
#define ACPI_DEV PNP_DEV(0x2e, NCT6776_ACPI)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
/* Enable UART */
diff --git a/src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/early_init.c b/src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/early_init.c
index e76e1094cb..dc00ec37fa 100644
--- a/src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/early_init.c
+++ b/src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/early_init.c
@@ -10,23 +10,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6776_SP1)
#define ACPI_DEV PNP_DEV(0x2e, NCT6776_ACPI)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_pnp_enter_conf_state(GLOBAL_DEV);
diff --git a/src/mainboard/asus/maximus_iv_gene-z/early_init.c b/src/mainboard/asus/maximus_iv_gene-z/early_init.c
index ed593f65f5..bd741c3571 100644
--- a/src/mainboard/asus/maximus_iv_gene-z/early_init.c
+++ b/src/mainboard/asus/maximus_iv_gene-z/early_init.c
@@ -6,23 +6,6 @@
#include <superio/nuvoton/common/nuvoton.h>
#include <superio/nuvoton/nct6776/nct6776.h>
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
static const pnp_devfn_t GLOBAL_PSEUDO_DEV = PNP_DEV(0x2e, 0);
diff --git a/src/mainboard/asus/p8x7x-series/devicetree.cb b/src/mainboard/asus/p8x7x-series/devicetree.cb
index 4052cf43ad..e9b97bc7ba 100644
--- a/src/mainboard/asus/p8x7x-series/devicetree.cb
+++ b/src/mainboard/asus/p8x7x-series/devicetree.cb
@@ -7,11 +7,6 @@ chip northbridge/intel/sandybridge
register "max_mem_clock_mhz" = "800"
register "spd_addresses" = "{0x50, 0x51, 0x52, 0x53}"
- register "usb_port_config" = "{
- {1, 0, 0x0080}, {1, 0, 0x0080}, {1, 1, 0x0080}, {1, 1, 0x0080}, {1, 2, 0x0080},
- {1, 2, 0x0080}, {1, 3, 0x0080}, {1, 3, 0x0080}, {1, 4, 0x0080}, {1, 4, 0x0080},
- {1, 6, 0x0080}, {1, 5, 0x0080}, {1, 5, 0x0080}, {1, 6, 0x0080}
- }"
# 4 bit switch mask. 0=not switchable, 1=switchable
# Means once it's loaded the OS, it can swap ports
# from/to EHCI/xHCI. Z77 has four USB3 ports, so 0xf
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8c_ws/early_init.c b/src/mainboard/asus/p8x7x-series/variants/p8c_ws/early_init.c
index 79b67f07f1..1e21f2062b 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8c_ws/early_init.c
+++ b/src/mainboard/asus/p8x7x-series/variants/p8c_ws/early_init.c
@@ -10,23 +10,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6776_SP1)
#define ACPI_DEV PNP_DEV(0x2e, NCT6776_ACPI)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_pnp_enter_conf_state(GLOBAL_DEV);
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8h77-v/early_init.c b/src/mainboard/asus/p8x7x-series/variants/p8h77-v/early_init.c
index 89f9eee106..056dfd467d 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8h77-v/early_init.c
+++ b/src/mainboard/asus/p8x7x-series/variants/p8h77-v/early_init.c
@@ -10,23 +10,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6779D_SP1)
#define ACPI_DEV PNP_DEV(0x2e, NCT6779D_ACPI)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_pnp_enter_conf_state(GLOBAL_DEV);
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/early_init.c b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/early_init.c
index 4656617290..6897658ad5 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/early_init.c
+++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/early_init.c
@@ -12,24 +12,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6779D_SP1)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* {enable, current, oc_pin} */
- {1, 8, 0}, /* Port 0: USB3 front internal header, top */
- {1, 8, 0}, /* Port 1: USB3 front internal header, bottom */
- {1, 2, 1}, /* Port 2: USB3 rear, top */
- {1, 2, 1}, /* Port 3: USB3 rear, bottom */
- {1, 2, 2}, /* Port 4: USB2 rear, PS2 top */
- {1, 2, 2}, /* Port 5: USB2 rear, PS2 bottom */
- {1, 2, 3}, /* Port 6: USB2 rear, ETH, top */
- {1, 2, 3}, /* Port 7: USB2 rear, ETH, bottom */
- {1, 9, 4}, /* Port 8: USB2 internal header USB910, top */
- {1, 9, 4}, /* Port 9: USB2 internal header USB910, bottom */
- {1, 2, 6}, /* Port 10: USB2 internal header USB1112, top */
- {1, 2, 5}, /* Port 11: USB2 internal header USB1112, bottom */
- {1, 2, 5}, /* Port 12: USB2 internal header USB1314, top */
- {1, 2, 6} /* Port 13: USB2 internal header USB1314, bottom */
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb
index 45ad0e19f1..6232c9be83 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb
+++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb
@@ -1,11 +1,6 @@
## SPDX-License-Identifier: GPL-2.0-only
chip northbridge/intel/sandybridge
- register "usb_port_config" = "{
- {1, 0, 0x0040}, {1, 0, 0x0040}, {1, 1, 0x0130}, {1, 1, 0x0130}, {1, 2, 0x0130},
- {1, 2, 0x0130}, {1, 3, 0x0130}, {1, 3, 0x0130}, {1, 4, 0x0080}, {1, 4, 0x0080},
- {1, 6, 0x0130}, {1, 5, 0x0130}, {1, 5, 0x0130}, {1, 6, 0x0130}
- }"
device domain 0 on
subsystemid 0x1043 0x84ca inherit
chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/early_init.c b/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/early_init.c
index cec5070a10..4940b54eb9 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/early_init.c
+++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/early_init.c
@@ -14,24 +14,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6779D_SP2)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* {enable, current, oc_pin} */
- { 1, 2, 0 }, /* Port 0: USB3 front internal header, top */
- { 1, 2, 0 }, /* Port 1: USB3 front internal header, bottom */
- { 1, 2, 1 }, /* Port 2: USB3 rear, ETH top */
- { 1, 2, 1 }, /* Port 3: USB3 rear, ETH bottom */
- { 1, 2, 2 }, /* Port 4: USB2 rear, PS2 top */
- { 1, 2, 2 }, /* Port 5: USB2 rear, PS2 bottom */
- { 1, 2, 3 }, /* Port 6: USB2 internal header USB78, top */
- { 1, 2, 3 }, /* Port 7: USB2 internal header USB78, bottom */
- { 1, 2, 4 }, /* Port 8: USB2 internal header USB910, top */
- { 1, 2, 4 }, /* Port 9: USB2 internal header USB910, bottom */
- { 1, 2, 6 }, /* Port 10: USB2 internal header USB1112, top */
- { 1, 2, 5 }, /* Port 11: USB2 internal header USB1112, bottom */
- { 0, 2, 5 }, /* Port 12: Unused. Asus proprietary DEBUG_PORT ??? */
- { 0, 2, 6 } /* Port 13: Unused. Asus proprietary DEBUG_PORT ??? */
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb b/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb
index 2cb94213e3..4613c128e2 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb
+++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb
@@ -1,11 +1,6 @@
## SPDX-License-Identifier: GPL-2.0-only
chip northbridge/intel/sandybridge
- register "usb_port_config" = "{
- {1, 0, 0x0080}, {1, 0, 0x0080}, {1, 1, 0x0080}, {1, 1, 0x0080}, {1, 2, 0x0080},
- {1, 2, 0x0080}, {1, 3, 0x0080}, {1, 3, 0x0080}, {1, 4, 0x0080}, {1, 4, 0x0080},
- {1, 6, 0x0080}, {1, 5, 0x0080}, {0, 5, 0x0080}, {0, 6, 0x0080}
- }"
device domain 0 on
subsystemid 0x1043 0x84ca inherit
chip southbridge/intel/bd82x6x
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c b/src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c
index c16b055aa4..290523f5fd 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c
+++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c
@@ -11,23 +11,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6779D_SP1)
#define ACPI_DEV PNP_DEV(0x2e, NCT6779D_ACPI)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 2, 0 },
- { 1, 2, 0 },
- { 1, 2, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 2, 2 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 4 },
- { 1, 0, 4 },
- { 1, 2, 6 },
- { 1, 2, 5 },
- { 1, 2, 5 },
- { 1, 2, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_pnp_enter_conf_state(GLOBAL_DEV);
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/early_init.c b/src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/early_init.c
index 89f9eee106..056dfd467d 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/early_init.c
+++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/early_init.c
@@ -10,23 +10,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, NCT6779D_SP1)
#define ACPI_DEV PNP_DEV(0x2e, NCT6779D_ACPI)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
nuvoton_pnp_enter_conf_state(GLOBAL_DEV);
diff --git a/src/mainboard/biostar/th61-itx/Makefile.mk b/src/mainboard/biostar/th61-itx/Makefile.mk
index 33b55d2d4f..51125d39e9 100644
--- a/src/mainboard/biostar/th61-itx/Makefile.mk
+++ b/src/mainboard/biostar/th61-itx/Makefile.mk
@@ -5,5 +5,3 @@ romstage-y += gpio.c
ramstage-y += hda_verb.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
-bootblock-y += early_init.c
-romstage-y += early_init.c
diff --git a/src/mainboard/compulab/intense_pc/early_init.c b/src/mainboard/compulab/intense_pc/early_init.c
index f5859e99d6..4a4308e92a 100644
--- a/src/mainboard/compulab/intense_pc/early_init.c
+++ b/src/mainboard/compulab/intense_pc/early_init.c
@@ -8,23 +8,6 @@
#define SIO_PORT 0x164e
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 1, 0 },
- { 1, 1, 0 },
- { 1, 1, 1 },
- { 1, 1, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 1, 4 },
- { 1, 1, 4 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
const u16 port = SIO_PORT;
diff --git a/src/mainboard/dell/snb_ivb_workstations/early_init.c b/src/mainboard/dell/snb_ivb_workstations/early_init.c
index 4a381df937..9ddbaf9924 100644
--- a/src/mainboard/dell/snb_ivb_workstations/early_init.c
+++ b/src/mainboard/dell/snb_ivb_workstations/early_init.c
@@ -9,23 +9,6 @@
#include <baseboard/sch5545_ec.h>
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 6, 0 },
- { 1, 6, 0 },
- { 1, 1, 1 },
- { 1, 1, 1 },
- { 1, 1, 2 },
- { 1, 1, 2 },
- { 1, 6, 3 },
- { 1, 6, 3 },
- { 1, 6, 4 },
- { 1, 6, 4 },
- { 1, 6, 5 },
- { 1, 1, 5 },
- { 1, 1, 6 },
- { 1, 6, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
/*
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/early_init.c b/src/mainboard/gigabyte/ga-b75m-d3h/early_init.c
index 8fd6f989ec..eea5b20647 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/early_init.c
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/early_init.c
@@ -39,20 +39,3 @@ void bootblock_mainboard_early_init(void)
ite_reg_write(IT8728F_EC, 0x63, 0x20);
ite_reg_write(IT8728F_EC, 0x30, 0x01);
}
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 5, 0 },
- { 1, 5, 0 },
- { 1, 5, 1 },
- { 1, 5, 1 },
- { 1, 5, 2 },
- { 1, 5, 2 },
- { 1, 5, 3 },
- { 1, 5, 3 },
- { 1, 5, 4 },
- { 1, 5, 4 },
- { 1, 5, 6 },
- { 1, 5, 5 },
- { 1, 5, 5 },
- { 1, 5, 6 },
-};
diff --git a/src/mainboard/gigabyte/ga-h61m-series/early_init.c b/src/mainboard/gigabyte/ga-h61m-series/early_init.c
index 6f9109af0f..80a3f0fe2a 100644
--- a/src/mainboard/gigabyte/ga-h61m-series/early_init.c
+++ b/src/mainboard/gigabyte/ga-h61m-series/early_init.c
@@ -9,23 +9,6 @@
#define SUPERIO_GPIO PNP_DEV(0x2e, IT8728F_GPIO)
#define SERIAL_DEV PNP_DEV(0x2e, 0x01)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
if (!CONFIG(NO_UART_ON_SUPERIO)) {
diff --git a/src/mainboard/google/butterfly/devicetree.cb b/src/mainboard/google/butterfly/devicetree.cb
index b8459c9009..cb34f3c55e 100644
--- a/src/mainboard/google/butterfly/devicetree.cb
+++ b/src/mainboard/google/butterfly/devicetree.cb
@@ -25,22 +25,6 @@ chip northbridge/intel/sandybridge
# Force double refresh rate
register "ddr_refresh_rate_config" = "DDR_REFRESH_RATE_DOUBLE"
- register "usb_port_config" = "{
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 0, 4, 0x0000 },
- { 1, 4, 0x0080 },
- { 1, 4, 0x0040 },
- { 0, 4, 0x0000 },
- { 0, 4, 0x0000 },
- { 0, 4, 0x0000 },}"
-
device domain 0 on
device ref host_bridge on end # host bridge
device ref peg10 off end # PCIe Bridge for discrete graphics
diff --git a/src/mainboard/google/butterfly/early_init.c b/src/mainboard/google/butterfly/early_init.c
index f63d3c3d75..8d07a38b14 100644
--- a/src/mainboard/google/butterfly/early_init.c
+++ b/src/mainboard/google/butterfly/early_init.c
@@ -44,24 +44,6 @@ void mainboard_late_rcba_config(void)
DIR_ROUTE(D22IR, PIRQA, PIRQB, PIRQC, PIRQD);
}
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* enabled power USB oc pin */
- { 1, 0, -1 }, /* P0: Right USB 3.0 #1 (no OC) */
- { 1, 0, -1 }, /* P1: Right USB 3.0 #2 (no OC) */
- { 1, 0, -1 }, /* P2: Camera (no OC) */
- { 0, 0, -1 }, /* P3: Empty */
- { 0, 0, -1 }, /* P4: Empty */
- { 0, 0, -1 }, /* P5: Empty */
- { 0, 0, -1 }, /* P6: Empty */
- { 0, 0, -1 }, /* P7: Empty */
- { 0, 0, -1 }, /* P8: Empty */
- { 1, 1, -1 }, /* P9: Left USB 1 (no OC) */
- { 1, 0, -1 }, /* P10: Mini PCIe - WLAN / BT (no OC) */
- { 0, 0, -1 }, /* P11: Empty */
- { 0, 0, -1 }, /* P12: Empty */
- { 0, 0, -1 }, /* P13: Empty */
-};
-
void mainboard_fill_pei_data(struct pei_data *pei_data)
{
/* TODO: Confirm if nortbridge_fill_pei_data() gets .system_type right (should be 0) */
diff --git a/src/mainboard/google/link/devicetree.cb b/src/mainboard/google/link/devicetree.cb
index f14728f643..028db5e528 100644
--- a/src/mainboard/google/link/devicetree.cb
+++ b/src/mainboard/google/link/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" = "{
- { 0, 3, 0x0000 },
- { 1, 0, 0x0040 },
- { 1, 1, 0x0040 },
- { 1, 3, 0x0040 },
- { 0, 3, 0x0000 },
- { 1, 3, 0x0040 },
- { 0, 3, 0x0000 },
- { 0, 3, 0x0000 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 },
- { 0, 4, 0x0000 },
- { 0, 4, 0x0000 },
- { 0, 4, 0x0000 },
- { 0, 4, 0x0000 },}"
-
device domain 0 on
subsystemid 0x1ae0 0xc000 inherit
device ref host_bridge on end # host bridge
diff --git a/src/mainboard/google/link/early_init.c b/src/mainboard/google/link/early_init.c
index e40531dac1..2d20ac03a9 100644
--- a/src/mainboard/google/link/early_init.c
+++ b/src/mainboard/google/link/early_init.c
@@ -63,24 +63,6 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
/* TODO: Confirm if nortbridge_fill_pei_data() gets .system_type right (should be 0) */
}
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* enabled power USB oc pin */
- { 0, 0, -1 }, /* P0: Empty */
- { 1, 0, 0 }, /* P1: Left USB 1 (OC0) */
- { 1, 0, 1 }, /* P2: Left USB 2 (OC1) */
- { 1, 0, -1 }, /* P3: SDCARD (no OC) */
- { 0, 0, -1 }, /* P4: Empty */
- { 1, 0, -1 }, /* P5: WWAN (no OC) */
- { 0, 0, -1 }, /* P6: Empty */
- { 0, 0, -1 }, /* P7: Empty */
- { 1, 0, -1 }, /* P8: Camera (no OC) */
- { 1, 0, -1 }, /* P9: Bluetooth (no OC) */
- { 0, 0, -1 }, /* P10: Empty */
- { 0, 0, -1 }, /* P11: Empty */
- { 0, 0, -1 }, /* P12: Empty */
- { 0, 0, -1 }, /* P13: Empty */
-};
-
void mb_get_spd_map(struct spd_info *spdi)
{
/* LINK has 2 channels of memory down */
diff --git a/src/mainboard/google/parrot/devicetree.cb b/src/mainboard/google/parrot/devicetree.cb
index 075e407862..1509f0a1cc 100644
--- a/src/mainboard/google/parrot/devicetree.cb
+++ b/src/mainboard/google/parrot/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" = "{
- { 0, 3, 0x0000 },
- { 1, 0, 0x0040 },
- { 1, 1, 0x0040 },
- { 1, 1, 0x0040 },
- { 0, 3, 0x0000 },
- { 0, 3, 0x0000 },
- { 0, 3, 0x0000 },
- { 0, 3, 0x0000 },
- { 1, 4, 0x0040 },
- { 0, 4, 0x0000 },
- { 1, 4, 0x0040 },
- { 0, 4, 0x0000 },
- { 0, 4, 0x0000 },
- { 0, 4, 0x0000 },}"
-
device domain 0 on
device ref host_bridge on end # host bridge
device ref igd on end # vga controller
diff --git a/src/mainboard/google/parrot/early_init.c b/src/mainboard/google/parrot/early_init.c
index f91b7d9f45..077cb64576 100644
--- a/src/mainboard/google/parrot/early_init.c
+++ b/src/mainboard/google/parrot/early_init.c
@@ -50,22 +50,3 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
{
/* TODO: Confirm if nortbridge_fill_pei_data() gets .system_type right (should be 0) */
}
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* enabled power USB oc pin */
- { 0, 0, -1 }, /* P0: Empty */
- { 1, 0, 0 }, /* P1: Left USB 1 (OC0) */
- { 1, 0, 1 }, /* P2: Left USB 2 (OC1) */
- { 1, 0, 1 }, /* P3: Left USB 3 (OC1) */
- { 0, 0, -1 }, /* P4: Empty */
- { 0, 0, -1 }, /* P5: Empty */
- { 0, 0, -1 }, /* P6: Empty */
- { 0, 0, -1 }, /* P7: Empty */
- /* Empty and onboard Ports 8-13, set to un-used pin OC4 */
- { 1, 0, -1 }, /* P8: MiniPCIe (WLAN) (no OC) */
- { 0, 0, -1 }, /* P9: Empty */
- { 1, 0, -1 }, /* P10: Camera (no OC) */
- { 0, 0, -1 }, /* P11: Empty */
- { 0, 0, -1 }, /* P12: Empty */
- { 0, 0, -1 }, /* P13: Empty */
-};
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) */
-};
diff --git a/src/mainboard/intel/dcp847ske/devicetree.cb b/src/mainboard/intel/dcp847ske/devicetree.cb
index 8b10b6b36c..954f572b31 100644
--- a/src/mainboard/intel/dcp847ske/devicetree.cb
+++ b/src/mainboard/intel/dcp847ske/devicetree.cb
@@ -15,22 +15,6 @@ chip northbridge/intel/sandybridge
register "max_mem_clock_mhz" = "666"
register "spd_addresses" = "{0x50, 0, 0x51, 0}"
- register "usb_port_config" = "{
- {1, 0, 0x0040},
- {1, 0, 0x0040},
- {1, 1, 0x0040},
- {1, 1, 0x0040},
- {1, 2, 0x0040},
- {1, 2, 0x0040},
- {1, 3, 0x0040},
- {0, 3, 0x0040},
- {0, 4, 0x0040},
- {0, 4, 0x0040},
- {0, 5, 0x0040},
- {0, 5, 0x0040},
- {0, 6, 0x0040},
- {0, 6, 0x0040}, }"
-
device domain 0 on
device ref host_bridge on end # Host bridge
device ref peg10 off end # PCIe Bridge for discrete graphics
diff --git a/src/mainboard/intel/dcp847ske/early_southbridge.c b/src/mainboard/intel/dcp847ske/early_southbridge.c
index e0f27bab51..a137e35d42 100644
--- a/src/mainboard/intel/dcp847ske/early_southbridge.c
+++ b/src/mainboard/intel/dcp847ske/early_southbridge.c
@@ -124,8 +124,3 @@ void bootblock_mainboard_early_init(void)
superio_init();
hwm_init();
}
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
-#define USB_CONFIG(enabled, current, ocpin) { enabled, current, ocpin }
-#include "usb.h"
-};
diff --git a/src/mainboard/intel/dcp847ske/usb.h b/src/mainboard/intel/dcp847ske/usb.h
deleted file mode 100644
index 24693098a6..0000000000
--- a/src/mainboard/intel/dcp847ske/usb.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef DCP847SKE_USB_H
-#define DCP847SKE_USB_H
-
-USB_CONFIG(1, 1, 0), /* back, towards HDMI plugs */
-USB_CONFIG(1, 1, 0), /* back, towards power plug */
-USB_CONFIG(1, 1, 1), /* half-width miniPCIe */
-USB_CONFIG(1, 1, 1), /* full-width miniPCIe */
-USB_CONFIG(1, 1, 2), /* front-panel header */
-USB_CONFIG(1, 1, 2), /* front-panel header */
-USB_CONFIG(1, 1, 3), /* front connector */
-USB_CONFIG(0, 1, 3), /* not available */
-USB_CONFIG(0, 1, 4), /* not available */
-USB_CONFIG(0, 1, 4), /* not available */
-USB_CONFIG(0, 1, 5), /* not available */
-USB_CONFIG(0, 1, 5), /* not available */
-USB_CONFIG(0, 1, 6), /* not available */
-USB_CONFIG(0, 1, 6), /* not available */
-
-#endif
diff --git a/src/mainboard/intel/dq67sw/early_init.c b/src/mainboard/intel/dq67sw/early_init.c
index 14317a69e0..f7515a540c 100644
--- a/src/mainboard/intel/dq67sw/early_init.c
+++ b/src/mainboard/intel/dq67sw/early_init.c
@@ -1,29 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
-#include <southbridge/intel/bd82x6x/pch.h>
#include <superio/winbond/w83667hg-a/w83667hg-a.h>
#include <superio/winbond/common/winbond.h>
#define SERIAL_DEV PNP_DEV(0x2e, W83667HG_A_SP1)
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 1, 0 },
- { 1, 1, 0 },
- { 1, 1, 1 },
- { 1, 1, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 1, 4 },
- { 1, 1, 4 },
- { 0, 0, 5 },
- { 0, 0, 5 },
- { 1, 0, 6 },
- { 1, 0, 6 },
-};
-
void bootblock_mainboard_early_init(void)
{
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
diff --git a/src/mainboard/intel/emeraldlake2/devicetree.cb b/src/mainboard/intel/emeraldlake2/devicetree.cb
index 75e6daa1a3..e547ff111f 100644
--- a/src/mainboard/intel/emeraldlake2/devicetree.cb
+++ b/src/mainboard/intel/emeraldlake2/devicetree.cb
@@ -14,22 +14,6 @@ chip northbridge/intel/sandybridge
register "max_mem_clock_mhz" = "800"
register "spd_addresses" = "{0x50, 0, 0x52, 0}"
- register "usb_port_config" = "{
- { 1, 0, 0x0040 },
- { 1, 1, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 2, 0x0040 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 },
- { 0, 4, 0x0000 },
- { 1, 6, 0x0040 },
- { 1, 5, 0x0040 }, }"
-
chip cpu/intel/model_206ax
device cpu_cluster 0 on end
diff --git a/src/mainboard/intel/emeraldlake2/early_init.c b/src/mainboard/intel/emeraldlake2/early_init.c
index 1974713520..329f13d2c1 100644
--- a/src/mainboard/intel/emeraldlake2/early_init.c
+++ b/src/mainboard/intel/emeraldlake2/early_init.c
@@ -47,21 +47,3 @@ void bootblock_mainboard_early_init(void)
void mainboard_fill_pei_data(struct pei_data *pei_data)
{
}
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* enabled power USB oc pin */
- { 1, 0, 0 }, /* P0: Front port (OC0) */
- { 1, 0, 1 }, /* P1: Back port (OC1) */
- { 1, 0, -1 }, /* P2: MINIPCIE1 (no OC) */
- { 1, 0, -1 }, /* P3: MMC (no OC) */
- { 1, 0, 2 }, /* P4: Front port (OC2) */
- { 0, 0, -1 }, /* P5: Empty */
- { 0, 0, -1 }, /* P6: Empty */
- { 0, 0, -1 }, /* P7: Empty */
- { 1, 0, 4 }, /* P8: Back port (OC4) */
- { 1, 0, -1 }, /* P9: MINIPCIE3 (no OC) */
- { 1, 0, -1 }, /* P10: BLUETOOTH (no OC) */
- { 0, 0, -1 }, /* P11: Empty */
- { 1, 0, 6 }, /* P12: Back port (OC6) */
- { 1, 0, 5 }, /* P13: Back port (OC5) */
-};
diff --git a/src/mainboard/kontron/ktqm77/devicetree.cb b/src/mainboard/kontron/ktqm77/devicetree.cb
index d17d373578..6f21837d4e 100644
--- a/src/mainboard/kontron/ktqm77/devicetree.cb
+++ b/src/mainboard/kontron/ktqm77/devicetree.cb
@@ -10,21 +10,6 @@ chip northbridge/intel/sandybridge
register "usb3.mode" = "3"
register "usb3.preboot_support" = "1"
register "usb3.xhci_streams" = "1"
- register "usb_port_config" = "{
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 }, }"
chip cpu/intel/model_206ax
device cpu_cluster 0 on end
diff --git a/src/mainboard/kontron/ktqm77/early_init.c b/src/mainboard/kontron/ktqm77/early_init.c
index e514f102b5..7a2376508f 100644
--- a/src/mainboard/kontron/ktqm77/early_init.c
+++ b/src/mainboard/kontron/ktqm77/early_init.c
@@ -54,24 +54,6 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
{
}
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* enabled power USB oc pin */
- { 1, 0, 0 }, /* P0: lower left USB 3.0 (OC0) */
- { 1, 0, 0 }, /* P1: upper left USB 3.0 (OC0) */
- { 1, 0, 0 }, /* P2: lower right USB 3.0 (OC0) */
- { 1, 0, 0 }, /* P3: upper right USB 3.0 (OC0) */
- { 1, 0, 0 }, /* P4: lower USB 2.0 (OC0) */
- { 1, 0, 0 }, /* P5: upper USB 2.0 (OC0) */
- { 1, 0, 0 }, /* P6: front panel USB 2.0 (OC0) */
- { 1, 0, 0 }, /* P7: front panel USB 2.0 (OC0) */
- { 1, 0, 4 }, /* P8: internal USB 2.0 (OC4) */
- { 1, 0, 4 }, /* P9: internal USB 2.0 (OC4) */
- { 1, 0, 4 }, /* P10: internal USB 2.0 (OC4) */
- { 1, 0, 4 }, /* P11: internal USB 2.0 (OC4) */
- { 1, 0, 4 }, /* P12: internal USB 2.0 (OC4) */
- { 1, 0, 4 }, /* P13: internal USB 2.0 (OC4) */
-};
-
void mainboard_early_init(int s3resume)
{
/* Enable PEG10 (1x16) */
diff --git a/src/mainboard/lenovo/l520/Makefile.mk b/src/mainboard/lenovo/l520/Makefile.mk
index e4b6fbf0f0..7611194339 100644
--- a/src/mainboard/lenovo/l520/Makefile.mk
+++ b/src/mainboard/lenovo/l520/Makefile.mk
@@ -4,5 +4,3 @@ bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
-bootblock-y += early_init.c
-romstage-y += early_init.c
diff --git a/src/mainboard/lenovo/l520/early_init.c b/src/mainboard/lenovo/l520/early_init.c
deleted file mode 100644
index ebcd639e6a..0000000000
--- a/src/mainboard/lenovo/l520/early_init.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <southbridge/intel/bd82x6x/pch.h>
-#include <southbridge/intel/common/gpio.h>
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 0, -1 },
-};
diff --git a/src/mainboard/lenovo/s230u/early_init.c b/src/mainboard/lenovo/s230u/early_init.c
index 58e95932b8..f4396cb617 100644
--- a/src/mainboard/lenovo/s230u/early_init.c
+++ b/src/mainboard/lenovo/s230u/early_init.c
@@ -20,23 +20,6 @@ void mainboard_pch_lpc_setup(void)
ec_mm_set_bit(0x3b, 4);
}
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 1, 0 },
- { 1, 0, 0 },
- { 1, 1, 1 },
- { 1, 0, 1 },
- { 1, 1, 2 },
- { 1, 0, 2 },
- { 0, 0, 3 },
- { 0, 1, 3 },
- { 1, 0, 4 },
- { 1, 1, 4 },
- { 1, 1, 5 },
- { 1, 1, 5 },
- { 1, 1, 6 },
- { 1, 1, 6 },
-};
-
static const char *mainboard_spd_names[9] = {
"ELPIDA 4GB",
"SAMSUNG 4GB",
diff --git a/src/mainboard/lenovo/t420/early_init.c b/src/mainboard/lenovo/t420/early_init.c
index c90221ed67..79e3cf7f5a 100644
--- a/src/mainboard/lenovo/t420/early_init.c
+++ b/src/mainboard/lenovo/t420/early_init.c
@@ -31,24 +31,6 @@ static void hybrid_graphics_init(void)
pci_write_config32(PCI_DEV(0, 0, 0), DEVEN, reg32);
}
-// OC3 set in BIOS to port 2-7, OC7 set in BIOS to port 10-13
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 1, 0 }, /* P0: system port 4, OC0 */
- { 1, 1, 1 }, /* P1: system port 2 (EHCI debug), OC 1 */
- { 1, 1, -1 }, /* P2: HALF MINICARD (WLAN) no oc */
- { 1, 0, -1 }, /* P3: WWAN, no OC */
- { 1, 0, -1 }, /* P4: smartcard, no OC */
- { 1, 1, -1 }, /* P5: ExpressCard, no OC */
- { 0, 0, -1 }, /* P6: empty */
- { 0, 0, -1 }, /* P7: empty */
- { 1, 1, 4 }, /* P8: system port 3, OC4*/
- { 1, 1, 5 }, /* P9: system port 1 (EHCI debug), OC 5 */
- { 1, 0, -1 }, /* P10: fingerprint reader, no OC */
- { 1, 0, -1 }, /* P11: bluetooth, no OC. */
- { 1, 1, -1 }, /* P12: docking, no OC */
- { 1, 1, -1 }, /* P13: camera (LCD), no OC */
-};
-
void mainboard_early_init(int s3resume)
{
hybrid_graphics_init();
diff --git a/src/mainboard/lenovo/t420s/early_init.c b/src/mainboard/lenovo/t420s/early_init.c
index e5e95b218a..79e3cf7f5a 100644
--- a/src/mainboard/lenovo/t420s/early_init.c
+++ b/src/mainboard/lenovo/t420s/early_init.c
@@ -31,23 +31,6 @@ static void hybrid_graphics_init(void)
pci_write_config32(PCI_DEV(0, 0, 0), DEVEN, reg32);
}
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 0, 1, -1 }, /* P0: empty */
- { 1, 1, 1 }, /* P1: system port 2 (To system port) (EHCI debug), OC 1 */
- { 1, 1, -1 }, /* P2: HALF MINICARD (WLAN) no oc */
- { 1, 0, -1 }, /* P3: WWAN, no OC */
- { 1, 1, -1 }, /* P4: smartcard, no OC */
- { 1, 1, -1 }, /* P5: ExpressCard, no OC */
- { 0, 0, -1 }, /* P6: empty */
- { 0, 0, -1 }, /* P7: empty */
- { 0, 1, -1 }, /* P8: empty (touch panel) */
- { 1, 0, 5 }, /* P9: system port 1 (To USBAO) (EHCI debug), OC 5 */
- { 1, 0, -1 }, /* P10: fingerprint reader, no OC */
- { 1, 1, -1 }, /* P11: bluetooth, no OC. */
- { 1, 1, -1 }, /* P12: docking, no OC */
- { 1, 1, -1 }, /* P13: camera (LCD), no OC */
-};
-
void mainboard_early_init(int s3resume)
{
hybrid_graphics_init();
diff --git a/src/mainboard/lenovo/t430/early_init.c b/src/mainboard/lenovo/t430/early_init.c
index 5e397ab7c4..86fcda8b37 100644
--- a/src/mainboard/lenovo/t430/early_init.c
+++ b/src/mainboard/lenovo/t430/early_init.c
@@ -33,24 +33,6 @@ static void hybrid_graphics_init(void)
pci_write_config32(PCI_DEV(0, 0, 0), DEVEN, reg32);
}
-/* FIXME: used T530 values here */
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 1, 0 },
- { 1, 1, 1 },
- { 1, 2, 3 },
- { 1, 1, -1 },
- { 1, 1, 2 },
- { 1, 0, -1 },
- { 0, 0, -1 },
- { 1, 2, -1 },
- { 1, 0, -1 },
- { 1, 1, 5 },
- { 1, 0, -1 },
- { 1, 0, -1 },
- { 1, 3, -1 },
- { 1, 1, -1 },
-};
-
void mainboard_early_init(int s3resume)
{
hybrid_graphics_init();
diff --git a/src/mainboard/lenovo/x220/Makefile.mk b/src/mainboard/lenovo/x220/Makefile.mk
index b104bb52a9..7e59707915 100644
--- a/src/mainboard/lenovo/x220/Makefile.mk
+++ b/src/mainboard/lenovo/x220/Makefile.mk
@@ -2,7 +2,6 @@
bootblock-y += variants/$(VARIANT_DIR)/gpio.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c
-romstage-y += variants/$(VARIANT_DIR)/romstage.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
bootblock-y += early_init.c
diff --git a/src/mainboard/lenovo/x220/devicetree.cb b/src/mainboard/lenovo/x220/devicetree.cb
index dc2f4a5858..aaeecc8246 100644
--- a/src/mainboard/lenovo/x220/devicetree.cb
+++ b/src/mainboard/lenovo/x220/devicetree.cb
@@ -19,22 +19,6 @@ chip northbridge/intel/sandybridge
register "ec_present" = "1" # I have an embedded controller
register "max_mem_clock_mhz" = "666" # So DDR3 freq = 1333
- register "usb_port_config" = "{
- { 1, 0, 0x0040 },
- { 1, 1, 0x0080 },
- { 1, 3, 0x0080 },
- { 1, 3, 0x0080 },
- { 1, 0, 0x0080 },
- { 1, 0, 0x0080 },
- { 1, 2, 0x0040 },
- { 1, 2, 0x0040 },
- { 1, 6, 0x0080 },
- { 1, 5, 0x0080 },
- { 1, 6, 0x0080 },
- { 1, 6, 0x0080 },
- { 1, 7, 0x0080 },
- { 1, 6, 0x0080 },}"
-
chip cpu/intel/model_206ax
# Values obtained from vendor BIOS v1.46
# schematics say 33Amps for 17W TDP, 53Amps for 35W TDP
diff --git a/src/mainboard/lenovo/x220/variants/x1/romstage.c b/src/mainboard/lenovo/x220/variants/x1/romstage.c
deleted file mode 100644
index 593b7b2008..0000000000
--- a/src/mainboard/lenovo/x220/variants/x1/romstage.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <southbridge/intel/bd82x6x/pch.h>
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 1, 0 },
- { 1, 1, 1 },
- { 1, 1, 3 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 1, 3 },
- { 0, 0, 3 },
- { 0, 0, 3 },
- { 1, 1, 4 },
- { 1, 1, 5 },
- { 1, 0, 7 },
- { 1, 1, 7 },
- { 1, 1, 7 },
- { 1, 0, 7 },
-};
diff --git a/src/mainboard/lenovo/x220/variants/x220/romstage.c b/src/mainboard/lenovo/x220/variants/x220/romstage.c
deleted file mode 100644
index bd33cef65f..0000000000
--- a/src/mainboard/lenovo/x220/variants/x220/romstage.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <southbridge/intel/bd82x6x/pch.h>
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 1, 1 },
- { 1, 1, 3 },
- { 1, 1, 3 },
- { 1, 1, -1 },
- { 1, 1, -1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 1, 6 },
- { 1, 1, 5 },
- { 1, 1, 6 },
- { 1, 1, 6 },
- { 1, 1, 7 },
- { 1, 1, 6 },
-};
diff --git a/src/mainboard/roda/rv11/variants/rv11/devicetree.cb b/src/mainboard/roda/rv11/variants/rv11/devicetree.cb
index 841b5dd091..9f37526806 100644
--- a/src/mainboard/roda/rv11/variants/rv11/devicetree.cb
+++ b/src/mainboard/roda/rv11/variants/rv11/devicetree.cb
@@ -26,22 +26,6 @@ chip northbridge/intel/sandybridge
register "ec_present" = "1"
register "max_mem_clock_mhz" = "800"
- register "usb_port_config" = "{
- { 1, 0, 0x0040 },
- { 1, 4, 0x0040 },
- { 1, 1, 0x0080 },
- { 1, 2, 0x0080 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 3, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 5, 0x0040 }, }"
-
chip cpu/intel/model_206ax
device cpu_cluster 0 on end
diff --git a/src/mainboard/roda/rv11/variants/rv11/early_init.c b/src/mainboard/roda/rv11/variants/rv11/early_init.c
index 5de8f563d6..66e3e52038 100644
--- a/src/mainboard/roda/rv11/variants/rv11/early_init.c
+++ b/src/mainboard/roda/rv11/variants/rv11/early_init.c
@@ -8,21 +8,3 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
/* TODO: Confirm if need to enable peg10 in devicetree */
pei_data->pcie_init = 1;
}
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* Enabled / Power / OC PIN */
- { 1, 0, 0 }, /* P00: 1st USB3 (OC #0) */
- { 1, 0, 4 }, /* P01: 2nd USB3 (OC #4) */
- { 1, 1, 1 }, /* P02: 1st Multibay USB3 (OC #1) */
- { 1, 1, 2 }, /* P03: 2nd Multibay USB3 (OC #2) */
- { 1, 0, 8 }, /* P04: MiniPCIe 1 USB2 (no OC) */
- { 1, 0, 8 }, /* P05: MiniPCIe 2 USB2 (no OC) */
- { 1, 0, 8 }, /* P06: MiniPCIe 3 USB2 (no OC) */
- { 1, 0, 8 }, /* P07: GPS USB2 (no OC) */
- { 1, 0, 8 }, /* P08: MiniPCIe 4 USB2 (no OC) */
- { 1, 0, 3 }, /* P09: Express Card USB2 (OC #3) */
- { 1, 0, 8 }, /* P10: SD card reader USB2 (no OC) */
- { 1, 0, 8 }, /* P11: Sensors Hub? USB2 (no OC) */
- { 1, 0, 8 }, /* P12: Touch Screen USB2 (no OC) */
- { 1, 0, 5 }, /* P13: reserved? USB2 (OC #5) */
-};
diff --git a/src/mainboard/roda/rv11/variants/rw11/devicetree.cb b/src/mainboard/roda/rv11/variants/rw11/devicetree.cb
index 783cec65ba..5c3c72b517 100644
--- a/src/mainboard/roda/rv11/variants/rw11/devicetree.cb
+++ b/src/mainboard/roda/rv11/variants/rw11/devicetree.cb
@@ -25,21 +25,6 @@ chip northbridge/intel/sandybridge
register "usb3.hs_port_switch_mask" = "0xf"
register "usb3.preboot_support" = "1"
register "usb3.xhci_streams" = "1"
- register "usb_port_config" = "{
- { 1, 0, 0x0080 },
- { 1, 0, 0x0080 },
- { 1, 1, 0x0080 },
- { 1, 1, 0x0080 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0080 },
- { 1, 4, 0x0080 },
- { 1, 5, 0x0040 },
- { 1, 8, 0x0040 },
- { 1, 8, 0x0080 },
- { 1, 6, 0x0080 }, }"
chip cpu/intel/model_206ax
device cpu_cluster 0 on end
diff --git a/src/mainboard/roda/rv11/variants/rw11/early_init.c b/src/mainboard/roda/rv11/variants/rw11/early_init.c
index 451c4b795b..b791cbc772 100644
--- a/src/mainboard/roda/rv11/variants/rw11/early_init.c
+++ b/src/mainboard/roda/rv11/variants/rw11/early_init.c
@@ -40,21 +40,3 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
/* TODO: Confirm if need to enable peg10 in devicetree */
pei_data->pcie_init = 1;
}
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* Enabled / Power / OC PIN */
- { 1, 1, 0 }, /* P00: 1st (left) USB3 (OC #0) */
- { 1, 1, 0 }, /* P01: 2nd (left) USB3 (OC #0) */
- { 1, 1, 1 }, /* P02: 1st Multibay USB3 (OC #1) */
- { 1, 1, 1 }, /* P03: 2nd Multibay USB3 (OC #1) */
- { 1, 0, 8 }, /* P04: MiniPCIe 1 USB2 (no OC) */
- { 1, 0, 8 }, /* P05: MiniPCIe 2 USB2 (no OC) */
- { 1, 0, 8 }, /* P06: USB Hub x4 USB2 (no OC) */
- { 1, 0, 8 }, /* P07: MiniPCIe 4 USB2 (no OC) */
- { 1, 1, 8 }, /* P08: SD card reader USB2 (no OC) */
- { 1, 1, 4 }, /* P09: 3rd (right) USB2 (OC #4) */
- { 1, 0, 5 }, /* P10: 4th (right) USB2 (OC #5) */
- { 1, 0, 8 }, /* P11: 3rd Multibay USB2 (no OC) */
- { 1, 1, 8 }, /* P12: misc internal USB2 (no OC) */
- { 1, 1, 6 }, /* P13: misc internal USB2 (OC #6) */
-};
diff --git a/src/mainboard/samsung/lumpy/devicetree.cb b/src/mainboard/samsung/lumpy/devicetree.cb
index bbfb1e68a3..f5886f8b00 100644
--- a/src/mainboard/samsung/lumpy/devicetree.cb
+++ b/src/mainboard/samsung/lumpy/devicetree.cb
@@ -20,22 +20,6 @@ chip northbridge/intel/sandybridge
register "ec_present" = "1"
register "max_mem_clock_mhz" = "666"
- register "usb_port_config" = "{
- { 1, 0, 0x0080 },
- { 1, 1, 0x0080 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 1, 4, 0x0040 },
- { 0, 4, 0x0000 },
- { 0, 4, 0x0000 },
- { 1, 4, 0x0040 },
- { 0, 4, 0x0000 },
- { 0, 4, 0x0000 },}"
-
device domain 0 on
subsystemid 0x1ae0 0xc000 inherit
device ref host_bridge on end # host bridge
diff --git a/src/mainboard/samsung/lumpy/early_init.c b/src/mainboard/samsung/lumpy/early_init.c
index 5b355a206b..b82d4d3411 100644
--- a/src/mainboard/samsung/lumpy/early_init.c
+++ b/src/mainboard/samsung/lumpy/early_init.c
@@ -108,24 +108,6 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
memcpy(pei_data->ts_addresses, &tsaddr, sizeof(pei_data->ts_addresses));
}
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* enabled power USB oc pin */
- { 1, 1, 0 }, /* P0: Port 0 (OC0) */
- { 1, 1, 1 }, /* P1: Port 1 (OC1) */
- { 1, 0, -1 }, /* P2: MINIPCIE1 (no OC) */
- { 1, 0, -1 }, /* P3: MMC (no OC) */
- { 0, 0, -1 }, /* P4: Empty */
- { 0, 0, -1 }, /* P5: Empty */
- { 0, 0, -1 }, /* P6: Empty */
- { 0, 0, -1 }, /* P7: Empty */
- { 1, 0, -1 }, /* P8: MINIPCIE2 (no OC) */
- { 0, 0, -1 }, /* P9: Empty */
- { 0, 0, -1 }, /* P10: Empty */
- { 1, 0, -1 }, /* P11: Camera (no OC) */
- { 0, 0, -1 }, /* P12: Empty */
- { 0, 0, -1 }, /* P13: Empty */
-};
-
void mb_get_spd_map(struct spd_info *spdi)
{
spdi->addresses[0] = 0x50;
diff --git a/src/mainboard/samsung/stumpy/devicetree.cb b/src/mainboard/samsung/stumpy/devicetree.cb
index e158113746..4160479b8d 100644
--- a/src/mainboard/samsung/stumpy/devicetree.cb
+++ b/src/mainboard/samsung/stumpy/devicetree.cb
@@ -12,22 +12,6 @@ chip northbridge/intel/sandybridge
register "spd_addresses" = "{0x50, 0, 0x52, 0}"
register "max_mem_clock_mhz" = "666"
- register "usb_port_config" = "{
- { 1, 0, 0x0080 },
- { 1, 1, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 0, 0x0040 },
- { 1, 2, 0x0080 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 0, 0, 0x0000 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 },
- { 1, 4, 0x0040 },
- { 0, 4, 0x0000 },
- { 1, 6, 0x0040 },
- { 1, 5, 0x0040 }, }"
-
chip cpu/intel/model_206ax
device cpu_cluster 0 on end
diff --git a/src/mainboard/samsung/stumpy/early_init.c b/src/mainboard/samsung/stumpy/early_init.c
index 2719e337e2..852759ead9 100644
--- a/src/mainboard/samsung/stumpy/early_init.c
+++ b/src/mainboard/samsung/stumpy/early_init.c
@@ -91,24 +91,6 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
/* TODO: Confirm if nortbridge_fill_pei_data() gets .system_type right (should be 0) */
}
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- /* enabled power USB oc pin */
- { 1, 1, 0 }, /* P0: Front port (OC0) */
- { 1, 0, 1 }, /* P1: Back port (OC1) */
- { 1, 0, -1 }, /* P2: MINIPCIE1 (no OC) */
- { 1, 0, -1 }, /* P3: MMC (no OC) */
- { 1, 1, 2 }, /* P4: Front port (OC2) */
- { 0, 0, -1 }, /* P5: Empty */
- { 0, 0, -1 }, /* P6: Empty */
- { 0, 0, -1 }, /* P7: Empty */
- { 1, 0, 4 }, /* P8: Back port (OC4) */
- { 1, 0, -1 }, /* P9: MINIPCIE3 (no OC) */
- { 1, 0, -1 }, /* P10: BLUETOOTH (no OC) */
- { 0, 0, -1 }, /* P11: Empty */
- { 1, 0, 6 }, /* P12: Back port (OC6) */
- { 1, 0, 5 }, /* P13: Back port (OC5) */
-};
-
void bootblock_mainboard_early_init(void)
{
if (CONFIG(DRIVERS_UART_8250IO))
diff --git a/src/mainboard/sapphire/pureplatinumh61/early_init.c b/src/mainboard/sapphire/pureplatinumh61/early_init.c
index 8749e49925..b4bc1119f2 100644
--- a/src/mainboard/sapphire/pureplatinumh61/early_init.c
+++ b/src/mainboard/sapphire/pureplatinumh61/early_init.c
@@ -8,20 +8,3 @@ void mainboard_pch_lpc_setup(void)
{
pci_write_config32(PCI_DEV(0, 0x1f, 0), 0xac, 0x00010000);
}
-
-const struct southbridge_usb_port mainboard_usb_ports[] = {
- { 1, 0, 0 },
- { 1, 0, 0 },
- { 1, 0, 1 },
- { 1, 0, 1 },
- { 1, 0, 2 },
- { 1, 0, 2 },
- { 1, 0, 3 },
- { 1, 0, 3 },
- { 1, 0, 4 },
- { 1, 0, 4 },
- { 1, 0, 6 },
- { 1, 0, 5 },
- { 1, 0, 5 },
- { 1, 0, 6 },
-};
diff --git a/src/northbridge/intel/sandybridge/chip.h b/src/northbridge/intel/sandybridge/chip.h
index 82e58f6186..35e4cf76e6 100644
--- a/src/northbridge/intel/sandybridge/chip.h
+++ b/src/northbridge/intel/sandybridge/chip.h
@@ -80,26 +80,6 @@ struct northbridge_intel_sandybridge_config {
DDR_REFRESH_RATE_DOUBLE,
} ddr_refresh_rate_config;
- /*
- * USB Port Configuration:
- * [0] = enable
- * [1] = overcurrent pin
- * [2] = length
- *
- * Ports 0-7 can be mapped to OC0-OC3
- * Ports 8-13 can be mapped to OC4-OC7
- *
- * Port Length
- * MOBILE:
- * < 0x050 = Setting 1 (back panel, 1-5in, lowest tx amplitude)
- * < 0x140 = Setting 2 (back panel, 5-14in, highest tx amplitude)
- * DESKTOP:
- * < 0x080 = Setting 1 (front/back panel, <8in, lowest tx amplitude)
- * < 0x130 = Setting 2 (back panel, 8-13in, higher tx amplitude)
- * < 0x150 = Setting 3 (back panel, 13-15in, highest tx amplitude)
- */
- u16 usb_port_config[16][3];
-
struct {
/* 0: Disable, 1: Enable, 2: Auto, 3: Smart Auto */
u8 mode : 2;
diff --git a/src/southbridge/intel/bd82x6x/pch.h b/src/southbridge/intel/bd82x6x/pch.h
index 8924dca54b..2fb97f0d60 100644
--- a/src/southbridge/intel/bd82x6x/pch.h
+++ b/src/southbridge/intel/bd82x6x/pch.h
@@ -62,7 +62,6 @@ struct southbridge_usb_port
};
void pch_enable(struct device *dev);
-extern const struct southbridge_usb_port mainboard_usb_ports[14];
void early_usb_init(void);