soc/intel/meteorlake: set PortResetMessageEnable appropriately
Change-Id: I61f93f70b882b98e079edf24b1b98cd3b7a7d5ee Signed-off-by: Jeremy Soller <jackpot51@gmail.com>
This commit is contained in:
@ -476,6 +476,9 @@ static void fill_fsps_xhci_params(FSP_S_CONFIG *s_cfg,
|
|||||||
s_cfg->Usb2OverCurrentPin[i] = config->usb2_ports[i].ocpin;
|
s_cfg->Usb2OverCurrentPin[i] = config->usb2_ports[i].ocpin;
|
||||||
else
|
else
|
||||||
s_cfg->Usb2OverCurrentPin[i] = OC_SKIP;
|
s_cfg->Usb2OverCurrentPin[i] = OC_SKIP;
|
||||||
|
|
||||||
|
if (config->usb2_ports[i].type_c)
|
||||||
|
s_cfg->PortResetMessageEnable[i] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
max_port = get_max_usb30_port();
|
max_port = get_max_usb30_port();
|
||||||
|
@ -31,6 +31,7 @@ struct usb2_port_config {
|
|||||||
uint8_t tx_emp_enable;
|
uint8_t tx_emp_enable;
|
||||||
uint8_t pre_emp_bias;
|
uint8_t pre_emp_bias;
|
||||||
uint8_t pre_emp_bit;
|
uint8_t pre_emp_bit;
|
||||||
|
uint8_t type_c;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* USB Overcurrent pins definition */
|
/* USB Overcurrent pins definition */
|
||||||
@ -112,6 +113,7 @@ enum {
|
|||||||
.tx_emp_enable = USB2_PRE_EMP_ON, \
|
.tx_emp_enable = USB2_PRE_EMP_ON, \
|
||||||
.pre_emp_bias = USB2_BIAS_56P3MV, \
|
.pre_emp_bias = USB2_BIAS_56P3MV, \
|
||||||
.pre_emp_bit = USB2_HALF_BIT_PRE_EMP, \
|
.pre_emp_bit = USB2_HALF_BIT_PRE_EMP, \
|
||||||
|
.type_c = 1, \
|
||||||
}
|
}
|
||||||
|
|
||||||
struct usb3_port_config {
|
struct usb3_port_config {
|
||||||
|
Reference in New Issue
Block a user