Skip to content

Commit a1f2f3d

Browse files
committed
mb/novacustom/mtl-h/ramstage.c: Fix Type-C to Type-A conversion
The EnableTcssCovTypeA UPD definitions changed compared to the ADL/RPL FSP and the PCH XHCI port being mapped is not in a separate UPD anymore. Instead, it is passed in the same field as (previously boolean UINT8) EnableTcssCovTypeA. Signed-off-by: Michał Żygowski <[email protected]>
1 parent de85fb2 commit a1f2f3d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/mainboard/novacustom/mtl-h/ramstage.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,13 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params)
261261
params->CnviRfResetPinMux = 0x194CE404; // GPP_F4
262262
params->CnviClkreqPinMux = 0x394CE605; // GPP_F5
263263

264-
params->EnableTcssCovTypeA[1] = 1;
264+
/*
265+
* [3:0] MappingPchXhciUsbA (1-based USB2 port numbering)
266+
* [5:4] Reserved
267+
* [6] Orientation - TCSS port uses TX0/RX0 pairs or TX1/RX1 pairs
268+
* [7] Enable
269+
*/
270+
params->EnableTcssCovTypeA[1] = 0x82;
265271

266272
/* Disable S0i2.x due to wake issues */
267273
params->PmcLpmS0ixSubStateEnableMask = BIT(0);

0 commit comments

Comments
 (0)