summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/falco/romstage.c26
-rw-r--r--src/mainboard/google/slippy/romstage.c26
-rw-r--r--src/mainboard/intel/baskingridge/romstage.c40
-rw-r--r--src/mainboard/intel/wtm2/romstage.c32
4 files changed, 76 insertions, 48 deletions
diff --git a/src/mainboard/google/falco/romstage.c b/src/mainboard/google/falco/romstage.c
index 7dde91ff58..3bf1dbd300 100644
--- a/src/mainboard/google/falco/romstage.c
+++ b/src/mainboard/google/falco/romstage.c
@@ -124,15 +124,23 @@ void mainboard_romstage_entry(unsigned long bist)
dimm_channel0_disabled: 2,
dimm_channel1_disabled: 2,
max_ddr3_freq: 1600,
- usb_port_config: {
- { 1, 0, 0x0040 }, /* P0: USB3 Port A */
- { 1, 0, 0x0040 }, /* P1: USB3 Port B */
- { 1, 0, 0x0040 }, /* P2: CCD */
- { 1, 0, 0x0040 }, /* P3: BT */
- { 1, 0, 0x0040 }, /* P4: LTE */
- { 1, 0, 0x0040 }, /* P5: TOUCH */
- { 1, 0, 0x0040 }, /* P6: SD Card */
- { 1, 0, 0x0040 }, /* P7: USB2 Port */
+ usb2_ports: {
+ /* Length, Enable, OCn# */
+ { 0x0040, 1, 0 }, /* P0: Port A, CN8 */
+ { 0x0040, 1, 0 }, /* P1: Port B, CN9 */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P2: CCD */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P3: BT */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P4: LTE */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P5: TOUCH */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P6: SD Card */
+ { 0x0040, 1, 3 }, /* P7: USB2 Port */
+ },
+ usb3_ports: {
+ /* Enable, OCn# */
+ { 1, 0 }, /* P1; Port A, CN8 */
+ { 1, 0 }, /* P2; Port B, CN9 */
+ { 0, USB_OC_PIN_SKIP }, /* P3; */
+ { 0, USB_OC_PIN_SKIP }, /* P4; */
},
};
diff --git a/src/mainboard/google/slippy/romstage.c b/src/mainboard/google/slippy/romstage.c
index 01f613d45c..8679adb202 100644
--- a/src/mainboard/google/slippy/romstage.c
+++ b/src/mainboard/google/slippy/romstage.c
@@ -158,15 +158,23 @@ void mainboard_romstage_entry(unsigned long bist)
dimm_channel0_disabled: 2,
dimm_channel1_disabled: 2,
max_ddr3_freq: 1600,
- usb_port_config: {
- { 1, 0, 0x0040 }, /* P0: LTE */
- { 1, 0, 0x0040 }, /* P1: USB3 Port A */
- { 1, 0, 0x0040 }, /* P2: CCD */
- { 1, 0, 0x0040 }, /* P3: BT */
- { 1, 0, 0x0040 }, /* P4: USB3 Port B */
- { 0, 0, 0x0040 }, /* P5: EMPTY */
- { 1, 0, 0x0040 }, /* P6: SD Card */
- { 0, 0, 0x0040 }, /* P7: EMPTY */
+ usb2_ports: {
+ /* Length, Enable, OCn# */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P0: LTE */
+ { 0x0040, 1, 0 }, /* P1: Port A, CN10 */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P2: CCD */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P3: BT */
+ { 0x0040, 1, 2 }, /* P4: Port B, CN6 */
+ { 0x0040, 0, USB_OC_PIN_SKIP }, /* P5: EMPTY */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P6: SD Card */
+ { 0x0040, 0, USB_OC_PIN_SKIP }, /* P7: EMPTY */
+ },
+ usb3_ports: {
+ /* Enable, OCn# */
+ { 1, 0 }, /* P1; Port A, CN10 */
+ { 1, 2 }, /* P2; Port B, CN6 */
+ { 0, USB_OC_PIN_SKIP }, /* P3; */
+ { 0, USB_OC_PIN_SKIP }, /* P4; */
},
};
diff --git a/src/mainboard/intel/baskingridge/romstage.c b/src/mainboard/intel/baskingridge/romstage.c
index 36592541a0..8b18e6d534 100644
--- a/src/mainboard/intel/baskingridge/romstage.c
+++ b/src/mainboard/intel/baskingridge/romstage.c
@@ -93,21 +93,31 @@ void mainboard_romstage_entry(unsigned long bist)
dimm_channel0_disabled: 0,
dimm_channel1_disabled: 0,
max_ddr3_freq: 1600,
- usb_port_config: {
- { 1, 0, 0x0040 }, /* P0: Back USB3 port (OC0) */
- { 1, 0, 0x0040 }, /* P1: Back USB3 port (OC0) */
- { 1, 1, 0x0040 }, /* P2: Flex Port on bottom (OC1) */
- { 1, 8, 0x0040 }, /* P3: Docking connector (no OC) */
- { 1, 8, 0x0040 }, /* P4: Mini PCIE (no OC) */
- { 1, 1, 0x0040 }, /* P5: USB eSATA header (OC1) */
- { 1, 3, 0x0040 }, /* P6: Front Header J8H2 (OC3) */
- { 1, 3, 0x0040 }, /* P7: Front Header J8H2 (OC3) */
- { 1, 4, 0x0040 }, /* P8: USB/LAN Jack (OC4) */
- { 1, 4, 0x0040 }, /* P9: USB/LAN Jack (OC4) */
- { 1, 5, 0x0040 }, /* P10: Front Header J7H3 (OC5) */
- { 1, 5, 0x0040 }, /* P11: Front Header J7H3 (OC5) */
- { 1, 6, 0x0040 }, /* P12: USB/DP Jack (OC6) */
- { 1, 6, 0x0040 }, /* P13: USB/DP Jack (OC6) */
+ usb2_ports: {
+ /* Length, Enable, OCn# */
+ { 0x0040, 1, 0 }, /* P0: Back USB3 port (OC0) */
+ { 0x0040, 1, 0 }, /* P1: Back USB3 port (OC0) */
+ { 0x0040, 1, 1 }, /* P2: Flex Port on bottom (OC1) */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P3: Dock connector */
+ { 0x0040, 1, USB_OC_PIN_SKIP }, /* P4: Mini PCIE */
+ { 0x0040, 1, 1 }, /* P5: USB eSATA header (OC1) */
+ { 0x0040, 1, 3 }, /* P6: Front Header J8H2 (OC3) */
+ { 0x0040, 1, 3 }, /* P7: Front Header J8H2 (OC3) */
+ { 0x0040, 1, 4 }, /* P8: USB/LAN Jack (OC4) */
+ { 0x0040, 1, 4 }, /* P9: USB/LAN Jack (OC4) */
+ { 0x0040, 1, 5 }, /* P10: Front Header J7H3 (OC5) */
+ { 0x0040, 1, 5 }, /* P11: Front Header J7H3 (OC5) */
+ { 0x0040, 1, 6 }, /* P12: USB/DP Jack (OC6) */
+ { 0x0040, 1, 6 }, /* P13: USB/DP Jack (OC6) */
+ },
+ usb3_ports: {
+ /* Enable, OCn# */
+ { 1, 0 }, /* P1; */
+ { 1, 0 }, /* P2; */
+ { 1, 0 }, /* P3; */
+ { 1, 0 }, /* P4; */
+ { 1, 0 }, /* P6; */
+ { 1, 0 }, /* P6; */
},
};
diff --git a/src/mainboard/intel/wtm2/romstage.c b/src/mainboard/intel/wtm2/romstage.c
index 440b35f4fe..f38389c543 100644
--- a/src/mainboard/intel/wtm2/romstage.c
+++ b/src/mainboard/intel/wtm2/romstage.c
@@ -98,21 +98,23 @@ void mainboard_romstage_entry(unsigned long bist)
dimm_channel0_disabled: 2,
dimm_channel1_disabled: 2,
max_ddr3_freq: 1600,
- usb_port_config: {
- { 1, 0, 0x0040 }, /* P0: */
- { 1, 0, 0x0040 }, /* P1: */
- { 1, 0, 0x0040 }, /* P2: */
- { 1, 0, 0x0040 }, /* P3: */
- { 1, 0, 0x0040 }, /* P4: */
- { 1, 0, 0x0040 }, /* P5: */
- { 1, 0, 0x0040 }, /* P6: */
- { 0, 0, 0x0040 }, /* P7: Disable SDCARD due to hang */
- { 1, 0, 0x0040 }, /* P8: */
- { 1, 0, 0x0040 }, /* P9: */
- { 1, 0, 0x0040 }, /* P10: */
- { 1, 0, 0x0000 }, /* P11: */
- { 1, 0, 0x0040 }, /* P12: */
- { 1, 0, 0x0040 }, /* P13: */
+ usb2_ports: {
+ /* Length, Enable, OCn# */
+ { 0x40, 1, USB_OC_PIN_SKIP }, /* P0: */
+ { 0x40, 1, USB_OC_PIN_SKIP }, /* P1: */
+ { 0x40, 1, USB_OC_PIN_SKIP }, /* P2: */
+ { 0x40, 1, USB_OC_PIN_SKIP }, /* P3: */
+ { 0x40, 1, USB_OC_PIN_SKIP }, /* P4: */
+ { 0x40, 1, USB_OC_PIN_SKIP }, /* P5: */
+ { 0x40, 1, USB_OC_PIN_SKIP }, /* P6: */
+ { 0x40, 0, USB_OC_PIN_SKIP }, /* P7: Disable SDCARD due to hang */
+ },
+ usb3_ports: {
+ /* Enable, OCn# */
+ { 1, USB_OC_PIN_SKIP }, /* P1; */
+ { 1, USB_OC_PIN_SKIP }, /* P2; */
+ { 1, USB_OC_PIN_SKIP }, /* P3; */
+ { 1, USB_OC_PIN_SKIP }, /* P4; */
},
};