soc/intel/ehl: Fix logical bug for PseTsnGbePhyInterfaceType
By right if PseTsnGbeSgmiiEnable is disable, PseTsnGbePhyInterfaceType should use RGMII setting. Signed-off-by: Lean Sheng Tan <sheng.tan@9elements.com> Change-Id: If593a5534716a9e93f99cb155fb5e86e12b1df17 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64477 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
This commit is contained in:
parent
a68824185e
commit
100514d8c7
|
@ -134,7 +134,7 @@ static void fill_fsps_tsn_params(FSP_S_CONFIG *params,
|
|||
params->PseTsnGbeMultiVcEnable[i] = config->PseTsnGbeMultiVcEnable[i];
|
||||
params->PseTsnGbeSgmiiEnable[i] = config->PseTsnGbeSgmiiEnable[i];
|
||||
params->PseTsnGbePhyInterfaceType[i] =
|
||||
!!config->PseTsnGbeSgmiiEnable[i] ?
|
||||
!config->PseTsnGbeSgmiiEnable[i] ?
|
||||
RGMII : config->PseTsnGbePhyType[i];
|
||||
params->PseTsnGbeLinkSpeed[i] =
|
||||
(params->PseTsnGbePhyInterfaceType[i] < SGMII_plus) ?
|
||||
|
|
Loading…
Reference in New Issue