summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-06-23 18:59:46 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-17 20:23:52 +0000
commita3adb75b528b2e5cee1bfca84bff13f3ebe7142d (patch)
treeba25edb376a1e6574f53368fb34b5dc1e6bb54a9 /src
parent20cc942d9ebfb52719215d5e0b66270fc705e518 (diff)
broadwell boards: Reflow USB2 parameter statements
These statements fit on a single line. Reflow them to ease future works. Change-Id: Ie18e9a00f67b999fdcedcab3c28b68e34bc93da4 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55814 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/auron/variants/auron_paine/pei_data.c24
-rw-r--r--src/mainboard/google/auron/variants/auron_yuna/pei_data.c24
-rw-r--r--src/mainboard/google/auron/variants/buddy/pei_data.c24
-rw-r--r--src/mainboard/google/auron/variants/gandof/pei_data.c24
-rw-r--r--src/mainboard/google/auron/variants/lulu/pei_data.c24
-rw-r--r--src/mainboard/google/auron/variants/samus/pei_data.c24
-rw-r--r--src/mainboard/google/jecht/variants/guado/pei_data.c24
-rw-r--r--src/mainboard/google/jecht/variants/jecht/pei_data.c24
-rw-r--r--src/mainboard/google/jecht/variants/rikku/pei_data.c24
-rw-r--r--src/mainboard/google/jecht/variants/tidus/pei_data.c24
-rw-r--r--src/mainboard/intel/wtm2/pei_data.c24
-rw-r--r--src/mainboard/purism/librem_bdw/variants/librem13v1/pei_data.c24
-rw-r--r--src/mainboard/purism/librem_bdw/variants/librem15v2/pei_data.c24
13 files changed, 104 insertions, 208 deletions
diff --git a/src/mainboard/google/auron/variants/auron_paine/pei_data.c b/src/mainboard/google/auron/variants/auron_paine/pei_data.c
index 9776bbaa1b..9a6fe7bcae 100644
--- a/src/mainboard/google/auron/variants/auron_paine/pei_data.c
+++ b/src/mainboard/google/auron/variants/auron_paine/pei_data.c
@@ -12,29 +12,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->dimm_channel1_disabled = 2;
/* P0: LTE */
- pei_data_usb2_port(pei_data, 0, 0x0150, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 0, 0x0150, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P1: POrt A, CN10 */
- pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0, USB_PORT_BACK_PANEL);
/* P2: CCD */
- pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P3: BT */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P4: Port B, CN6 */
- pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2, USB_PORT_BACK_PANEL);
/* P5: EMPTY */
- pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P6: SD Card */
- pei_data_usb2_port(pei_data, 6, 0x0150, 1, USB_OC_PIN_SKIP,
- USB_PORT_FLEX);
+ pei_data_usb2_port(pei_data, 6, 0x0150, 1, USB_OC_PIN_SKIP, USB_PORT_FLEX);
/* P7: EMPTY */
- pei_data_usb2_port(pei_data, 7, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 7, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P1: Port A, CN6 */
pei_data_usb3_port(pei_data, 0, 1, 0, 0);
diff --git a/src/mainboard/google/auron/variants/auron_yuna/pei_data.c b/src/mainboard/google/auron/variants/auron_yuna/pei_data.c
index 9776bbaa1b..9a6fe7bcae 100644
--- a/src/mainboard/google/auron/variants/auron_yuna/pei_data.c
+++ b/src/mainboard/google/auron/variants/auron_yuna/pei_data.c
@@ -12,29 +12,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->dimm_channel1_disabled = 2;
/* P0: LTE */
- pei_data_usb2_port(pei_data, 0, 0x0150, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 0, 0x0150, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P1: POrt A, CN10 */
- pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0, USB_PORT_BACK_PANEL);
/* P2: CCD */
- pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P3: BT */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P4: Port B, CN6 */
- pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2, USB_PORT_BACK_PANEL);
/* P5: EMPTY */
- pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P6: SD Card */
- pei_data_usb2_port(pei_data, 6, 0x0150, 1, USB_OC_PIN_SKIP,
- USB_PORT_FLEX);
+ pei_data_usb2_port(pei_data, 6, 0x0150, 1, USB_OC_PIN_SKIP, USB_PORT_FLEX);
/* P7: EMPTY */
- pei_data_usb2_port(pei_data, 7, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 7, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P1: Port A, CN6 */
pei_data_usb3_port(pei_data, 0, 1, 0, 0);
diff --git a/src/mainboard/google/auron/variants/buddy/pei_data.c b/src/mainboard/google/auron/variants/buddy/pei_data.c
index c748bb654f..fb9fc09a8c 100644
--- a/src/mainboard/google/auron/variants/buddy/pei_data.c
+++ b/src/mainboard/google/auron/variants/buddy/pei_data.c
@@ -8,29 +8,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->ec_present = 1;
/* P0: Side USB3.0 port, USB3S1 */
- pei_data_usb2_port(pei_data, 0, 0x0150, 1, 0,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 0, 0x0150, 1, 0, USB_PORT_INTERNAL);
/* P1: Rear USB3.0 port, USB3R1 */
- pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0, USB_PORT_INTERNAL);
/* P2: Rear USB3.0 port, USB3R2 */
- pei_data_usb2_port(pei_data, 2, 0x0080, 1, 1,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 2, 0x0080, 1, 1, USB_PORT_INTERNAL);
/* P3: Card Reader, CRS1 */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P4: Rear USB2.0 port, USB2R1 */
- pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2, USB_PORT_INTERNAL);
/* P5: 2D Camera */
- pei_data_usb2_port(pei_data, 5, 0x0000, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 5, 0x0000, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P6: VP8 */
- pei_data_usb2_port(pei_data, 6, 0x0150, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 6, 0x0150, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P7: WLAN & BT */
- pei_data_usb2_port(pei_data, 7, 0x0000, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 7, 0x0000, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P1: Side USB3.0 port, USB3S1 */
pei_data_usb3_port(pei_data, 0, 1, 0, 0);
diff --git a/src/mainboard/google/auron/variants/gandof/pei_data.c b/src/mainboard/google/auron/variants/gandof/pei_data.c
index 9776bbaa1b..9a6fe7bcae 100644
--- a/src/mainboard/google/auron/variants/gandof/pei_data.c
+++ b/src/mainboard/google/auron/variants/gandof/pei_data.c
@@ -12,29 +12,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->dimm_channel1_disabled = 2;
/* P0: LTE */
- pei_data_usb2_port(pei_data, 0, 0x0150, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 0, 0x0150, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P1: POrt A, CN10 */
- pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0, USB_PORT_BACK_PANEL);
/* P2: CCD */
- pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P3: BT */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P4: Port B, CN6 */
- pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2, USB_PORT_BACK_PANEL);
/* P5: EMPTY */
- pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P6: SD Card */
- pei_data_usb2_port(pei_data, 6, 0x0150, 1, USB_OC_PIN_SKIP,
- USB_PORT_FLEX);
+ pei_data_usb2_port(pei_data, 6, 0x0150, 1, USB_OC_PIN_SKIP, USB_PORT_FLEX);
/* P7: EMPTY */
- pei_data_usb2_port(pei_data, 7, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 7, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P1: Port A, CN6 */
pei_data_usb3_port(pei_data, 0, 1, 0, 0);
diff --git a/src/mainboard/google/auron/variants/lulu/pei_data.c b/src/mainboard/google/auron/variants/lulu/pei_data.c
index 15b9237098..812bd3ba17 100644
--- a/src/mainboard/google/auron/variants/lulu/pei_data.c
+++ b/src/mainboard/google/auron/variants/lulu/pei_data.c
@@ -12,29 +12,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->dimm_channel1_disabled = 2;
/* P0: Port B, CN01 (IOBoard) */
- pei_data_usb2_port(pei_data, 0, 0x0150, 1, 0,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 0, 0x0150, 1, 0, USB_PORT_BACK_PANEL);
/* P1: Port A, CN01 */
- pei_data_usb2_port(pei_data, 1, 0x0040, 1, 2,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 1, 0x0040, 1, 2, USB_PORT_BACK_PANEL);
/* P2: CCD */
- pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P3: BT */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P4: Empty */
- pei_data_usb2_port(pei_data, 4, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 4, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P5: EMPTY */
- pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P6: SD Card */
- pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_FLEX);
+ pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_FLEX);
/* P7: EMPTY */
- pei_data_usb2_port(pei_data, 7, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 7, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P0: PORTB*/
pei_data_usb3_port(pei_data, 0, 1, 0, 0);
diff --git a/src/mainboard/google/auron/variants/samus/pei_data.c b/src/mainboard/google/auron/variants/samus/pei_data.c
index f404d82c46..549e8d9a53 100644
--- a/src/mainboard/google/auron/variants/samus/pei_data.c
+++ b/src/mainboard/google/auron/variants/samus/pei_data.c
@@ -28,29 +28,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
memcpy(pei_data->dqs_map, dqs_map, sizeof(dqs_map));
/* P0: HOST PORT */
- pei_data_usb2_port(pei_data, 0, 0x0080, 1, 0,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 0, 0x0080, 1, 0, USB_PORT_BACK_PANEL);
/* P1: HOST PORT */
- pei_data_usb2_port(pei_data, 1, 0x0080, 1, 1,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 1, 0x0080, 1, 1, USB_PORT_BACK_PANEL);
/* P2: RAIDEN */
- pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P3: SD CARD */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P4: RAIDEN */
- pei_data_usb2_port(pei_data, 4, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 4, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P5: WWAN (Disabled) */
- pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 5, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P6: CAMERA */
- pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P7: BT */
- pei_data_usb2_port(pei_data, 7, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 7, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P1: HOST PORT */
pei_data_usb3_port(pei_data, 0, 1, 0, 0);
diff --git a/src/mainboard/google/jecht/variants/guado/pei_data.c b/src/mainboard/google/jecht/variants/guado/pei_data.c
index 63fd7babbb..3a00414d01 100644
--- a/src/mainboard/google/jecht/variants/guado/pei_data.c
+++ b/src/mainboard/google/jecht/variants/guado/pei_data.c
@@ -8,29 +8,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->ec_present = 0;
/* P0: VP8 */
- pei_data_usb2_port(pei_data, 0, 0x0064, 1, 0,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 0, 0x0064, 1, 0, USB_PORT_MINI_PCIE);
/* P1: Port A, CN22 */
- pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0, USB_PORT_INTERNAL);
/* P2: Port B, CN23 */
- pei_data_usb2_port(pei_data, 2, 0x0040, 1, 1,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 2, 0x0040, 1, 1, USB_PORT_INTERNAL);
/* P3: WLAN */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P4: Port C, CN25 */
- pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2, USB_PORT_INTERNAL);
/* P5: Port D, CN25 */
- pei_data_usb2_port(pei_data, 5, 0x0040, 1, 2,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 5, 0x0040, 1, 2, USB_PORT_INTERNAL);
/* P6: Card Reader */
- pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P7: EMPTY */
- pei_data_usb2_port(pei_data, 7, 0x0000, 0, 0,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 7, 0x0000, 0, 0, USB_PORT_SKIP);
/* P1: CN22 */
pei_data_usb3_port(pei_data, 0, 1, 0, 0);
diff --git a/src/mainboard/google/jecht/variants/jecht/pei_data.c b/src/mainboard/google/jecht/variants/jecht/pei_data.c
index 63fd7babbb..3a00414d01 100644
--- a/src/mainboard/google/jecht/variants/jecht/pei_data.c
+++ b/src/mainboard/google/jecht/variants/jecht/pei_data.c
@@ -8,29 +8,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->ec_present = 0;
/* P0: VP8 */
- pei_data_usb2_port(pei_data, 0, 0x0064, 1, 0,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 0, 0x0064, 1, 0, USB_PORT_MINI_PCIE);
/* P1: Port A, CN22 */
- pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0, USB_PORT_INTERNAL);
/* P2: Port B, CN23 */
- pei_data_usb2_port(pei_data, 2, 0x0040, 1, 1,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 2, 0x0040, 1, 1, USB_PORT_INTERNAL);
/* P3: WLAN */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P4: Port C, CN25 */
- pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2, USB_PORT_INTERNAL);
/* P5: Port D, CN25 */
- pei_data_usb2_port(pei_data, 5, 0x0040, 1, 2,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 5, 0x0040, 1, 2, USB_PORT_INTERNAL);
/* P6: Card Reader */
- pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P7: EMPTY */
- pei_data_usb2_port(pei_data, 7, 0x0000, 0, 0,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 7, 0x0000, 0, 0, USB_PORT_SKIP);
/* P1: CN22 */
pei_data_usb3_port(pei_data, 0, 1, 0, 0);
diff --git a/src/mainboard/google/jecht/variants/rikku/pei_data.c b/src/mainboard/google/jecht/variants/rikku/pei_data.c
index 63fd7babbb..3a00414d01 100644
--- a/src/mainboard/google/jecht/variants/rikku/pei_data.c
+++ b/src/mainboard/google/jecht/variants/rikku/pei_data.c
@@ -8,29 +8,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->ec_present = 0;
/* P0: VP8 */
- pei_data_usb2_port(pei_data, 0, 0x0064, 1, 0,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 0, 0x0064, 1, 0, USB_PORT_MINI_PCIE);
/* P1: Port A, CN22 */
- pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0, USB_PORT_INTERNAL);
/* P2: Port B, CN23 */
- pei_data_usb2_port(pei_data, 2, 0x0040, 1, 1,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 2, 0x0040, 1, 1, USB_PORT_INTERNAL);
/* P3: WLAN */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P4: Port C, CN25 */
- pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2, USB_PORT_INTERNAL);
/* P5: Port D, CN25 */
- pei_data_usb2_port(pei_data, 5, 0x0040, 1, 2,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 5, 0x0040, 1, 2, USB_PORT_INTERNAL);
/* P6: Card Reader */
- pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P7: EMPTY */
- pei_data_usb2_port(pei_data, 7, 0x0000, 0, 0,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 7, 0x0000, 0, 0, USB_PORT_SKIP);
/* P1: CN22 */
pei_data_usb3_port(pei_data, 0, 1, 0, 0);
diff --git a/src/mainboard/google/jecht/variants/tidus/pei_data.c b/src/mainboard/google/jecht/variants/tidus/pei_data.c
index 1513918a29..566b9ad6ee 100644
--- a/src/mainboard/google/jecht/variants/tidus/pei_data.c
+++ b/src/mainboard/google/jecht/variants/tidus/pei_data.c
@@ -8,29 +8,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->ec_present = 0;
/* P0: VP8 */
- pei_data_usb2_port(pei_data, 0, 0x0064, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 0, 0x0064, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P1: Port 3, USB3 */
- pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0, USB_PORT_INTERNAL);
/* P2: Port 4, USB4 */
- pei_data_usb2_port(pei_data, 2, 0x0040, 1, 1,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 2, 0x0040, 1, 1, USB_PORT_INTERNAL);
/* P3: Mini Card */
- pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_MINI_PCIE);
+ pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE);
/* P4: Port 1, USB1 */
- pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2, USB_PORT_INTERNAL);
/* P5: Port 2, USB2 */
- pei_data_usb2_port(pei_data, 5, 0x0040, 1, 2,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 5, 0x0040, 1, 2, USB_PORT_INTERNAL);
/* P6: Card Reader */
- pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL);
/* P7: Pin Header */
- pei_data_usb2_port(pei_data, 7, 0x0040, 1, 3,
- USB_PORT_INTERNAL);
+ pei_data_usb2_port(pei_data, 7, 0x0040, 1, 3, USB_PORT_INTERNAL);
/* P1: USB1 */
pei_data_usb3_port(pei_data, 0, 1, 2, 0);
diff --git a/src/mainboard/intel/wtm2/pei_data.c b/src/mainboard/intel/wtm2/pei_data.c
index 9df5081f23..bcb877dd64 100644
--- a/src/mainboard/intel/wtm2/pei_data.c
+++ b/src/mainboard/intel/wtm2/pei_data.c
@@ -15,22 +15,14 @@ void mainboard_fill_spd_data(struct pei_data *pei_data)
void mainboard_fill_pei_data(struct pei_data *pei_data)
{
- pei_data_usb2_port(pei_data, 0, 0x40, 1, USB_OC_PIN_SKIP,
- USB_PORT_FRONT_PANEL);
- pei_data_usb2_port(pei_data, 1, 0x40, 1, USB_OC_PIN_SKIP,
- USB_PORT_FRONT_PANEL);
- pei_data_usb2_port(pei_data, 2, 0x40, 1, USB_OC_PIN_SKIP,
- USB_PORT_FRONT_PANEL);
- pei_data_usb2_port(pei_data, 3, 0x40, 1, USB_OC_PIN_SKIP,
- USB_PORT_FRONT_PANEL);
- pei_data_usb2_port(pei_data, 4, 0x40, 1, USB_OC_PIN_SKIP,
- USB_PORT_FRONT_PANEL);
- pei_data_usb2_port(pei_data, 5, 0x40, 1, USB_OC_PIN_SKIP,
- USB_PORT_FRONT_PANEL);
- pei_data_usb2_port(pei_data, 6, 0x40, 1, USB_OC_PIN_SKIP,
- USB_PORT_FRONT_PANEL);
- pei_data_usb2_port(pei_data, 7, 0x40, 1, USB_OC_PIN_SKIP,
- USB_PORT_FRONT_PANEL);
+ pei_data_usb2_port(pei_data, 0, 0x40, 1, USB_OC_PIN_SKIP, USB_PORT_FRONT_PANEL);
+ pei_data_usb2_port(pei_data, 1, 0x40, 1, USB_OC_PIN_SKIP, USB_PORT_FRONT_PANEL);
+ pei_data_usb2_port(pei_data, 2, 0x40, 1, USB_OC_PIN_SKIP, USB_PORT_FRONT_PANEL);
+ pei_data_usb2_port(pei_data, 3, 0x40, 1, USB_OC_PIN_SKIP, USB_PORT_FRONT_PANEL);
+ pei_data_usb2_port(pei_data, 4, 0x40, 1, USB_OC_PIN_SKIP, USB_PORT_FRONT_PANEL);
+ pei_data_usb2_port(pei_data, 5, 0x40, 1, USB_OC_PIN_SKIP, USB_PORT_FRONT_PANEL);
+ pei_data_usb2_port(pei_data, 6, 0x40, 1, USB_OC_PIN_SKIP, USB_PORT_FRONT_PANEL);
+ pei_data_usb2_port(pei_data, 7, 0x40, 1, USB_OC_PIN_SKIP, USB_PORT_FRONT_PANEL);
pei_data_usb3_port(pei_data, 0, 1, USB_OC_PIN_SKIP, 0);
pei_data_usb3_port(pei_data, 1, 1, USB_OC_PIN_SKIP, 0);
diff --git a/src/mainboard/purism/librem_bdw/variants/librem13v1/pei_data.c b/src/mainboard/purism/librem_bdw/variants/librem13v1/pei_data.c
index 93ad4dc34e..64cac287c1 100644
--- a/src/mainboard/purism/librem_bdw/variants/librem13v1/pei_data.c
+++ b/src/mainboard/purism/librem_bdw/variants/librem13v1/pei_data.c
@@ -15,29 +15,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->ec_present = 1;
/* P1: Left Side Port (USB2 only) */
- pei_data_usb2_port(pei_data, 0, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 0, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P2: Right Side Port (USB2) */
- pei_data_usb2_port(pei_data, 1, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 1, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P3: Empty */
- pei_data_usb2_port(pei_data, 2, 0x0000, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 2, 0x0000, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P4: Camera */
- pei_data_usb2_port(pei_data, 3, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 3, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P5: Bluetooth */
- pei_data_usb2_port(pei_data, 4, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 4, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P6: Empty */
- pei_data_usb2_port(pei_data, 5, 0x0080, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 5, 0x0080, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P7: Empty */
- pei_data_usb2_port(pei_data, 6, 0x0080, 0, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 6, 0x0080, 0, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P8: SD Card */
- pei_data_usb2_port(pei_data, 7, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 7, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P1: Empty */
pei_data_usb3_port(pei_data, 0, 0, USB_OC_PIN_SKIP, 0);
diff --git a/src/mainboard/purism/librem_bdw/variants/librem15v2/pei_data.c b/src/mainboard/purism/librem_bdw/variants/librem15v2/pei_data.c
index 025591ab69..275cbadeee 100644
--- a/src/mainboard/purism/librem_bdw/variants/librem15v2/pei_data.c
+++ b/src/mainboard/purism/librem_bdw/variants/librem15v2/pei_data.c
@@ -20,29 +20,21 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->ec_present = 1;
/* P1: Right Side Port (USB2) */
- pei_data_usb2_port(pei_data, 0, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 0, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P2: Right Side Port (USB2) */
- pei_data_usb2_port(pei_data, 1, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 1, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P3: Left Side Port (USB2 only) */
- pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 2, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P4: Left Side Port (USB2 only) */
- pei_data_usb2_port(pei_data, 3, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 3, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P5: Empty */
- pei_data_usb2_port(pei_data, 4, 0x0080, 0, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 4, 0x0080, 0, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P6: Bluetooth */
- pei_data_usb2_port(pei_data, 5, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 5, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P7: Camera */
- pei_data_usb2_port(pei_data, 6, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_SKIP);
+ pei_data_usb2_port(pei_data, 6, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_SKIP);
/* P8: SD Card */
- pei_data_usb2_port(pei_data, 7, 0x0080, 1, USB_OC_PIN_SKIP,
- USB_PORT_BACK_PANEL);
+ pei_data_usb2_port(pei_data, 7, 0x0080, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
/* P1: Right Side Port (USB3) */
pei_data_usb3_port(pei_data, 0, 1, USB_OC_PIN_SKIP, 0);