| 1 |
|
| 2 |
|
| 3 |
#include <soc/pei_data.h> |
| 4 |
#include <soc/pei_wrapper.h> |
| 5 |
|
| 6 |
void mainboard_fill_pei_data(struct pei_data *pei_data) |
| 7 |
{ |
| 8 |
|
| 9 |
pei_data_usb2_port(pei_data, 0, 0x0150, 1, 0, USB_PORT_INTERNAL); |
| 10 |
|
| 11 |
pei_data_usb2_port(pei_data, 1, 0x0040, 1, 0, USB_PORT_INTERNAL); |
| 12 |
|
| 13 |
pei_data_usb2_port(pei_data, 2, 0x0080, 1, 1, USB_PORT_INTERNAL); |
| 14 |
|
| 15 |
pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL); |
| 16 |
|
| 17 |
pei_data_usb2_port(pei_data, 4, 0x0040, 1, 2, USB_PORT_INTERNAL); |
| 18 |
|
| 19 |
pei_data_usb2_port(pei_data, 5, 0x0000, 1, USB_OC_PIN_SKIP, USB_PORT_INTERNAL); |
| 20 |
|
| 21 |
pei_data_usb2_port(pei_data, 6, 0x0150, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE); |
| 22 |
|
| 23 |
pei_data_usb2_port(pei_data, 7, 0x0000, 1, USB_OC_PIN_SKIP, USB_PORT_MINI_PCIE); |
| 24 |
|
| 25 |
|
| 26 |
pei_data_usb3_port(pei_data, 0, 1, 0, 0); |
| 27 |
|
| 28 |
pei_data_usb3_port(pei_data, 1, 1, 0, 0); |
| 29 |
|
| 30 |
pei_data_usb3_port(pei_data, 2, 1, 1, 0); |
| 31 |
|
| 32 |
pei_data_usb3_port(pei_data, 3, 1, USB_OC_PIN_SKIP, 0); |
| 33 |
} |