diff options
author | Krishna Prasad Bhat <krishna.p.bhat.d@intel.com> | 2019-02-20 15:05:33 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-21 16:22:54 +0000 |
commit | caa85f249d5f8be09ecd7b03e9e87a2fac0190dc (patch) | |
tree | edd5f7473b1ab799fbd47396d4ab7fdd5fd19ce2 /src/soc/intel/cannonlake/fsp_params.c | |
parent | 00bb441ba4f9d427901043db0bb686d389e3adca (diff) | |
download | coreboot-caa85f249d5f8be09ecd7b03e9e87a2fac0190dc.tar.xz |
soc/intel/cannonlake: Assign FSP UPDs for HPD and Data/CLK of DDI ports
Assign the FSP UPDs for HPD and DDC of DDI ports. FSP assumes that all
DDI ports are enabled and hence configures the HPD and CLK for DDI ports.
This patch initializes only the required UPDs to enable display ports.
BUG=b:123907904
TEST=DP devices working correctly.
Change-Id: Ic0c172cd3d087fc8f49b01ab23feffdababf7166
Signed-off-by: Krishna Prasad Bhat <krishna.p.bhat.d@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31520
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/cannonlake/fsp_params.c')
-rw-r--r-- | src/soc/intel/cannonlake/fsp_params.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/soc/intel/cannonlake/fsp_params.c b/src/soc/intel/cannonlake/fsp_params.c index 77d82d64f8..1a3b4fbea2 100644 --- a/src/soc/intel/cannonlake/fsp_params.c +++ b/src/soc/intel/cannonlake/fsp_params.c @@ -177,6 +177,21 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd) params->PchHdaAudioLinkSndw3 = config->PchHdaAudioLinkSndw3; params->PchHdaAudioLinkSndw4 = config->PchHdaAudioLinkSndw4; + /* eDP device */ + params->DdiPortEdp = config->DdiPortEdp; + + /* HPD of DDI ports */ + params->DdiPortBHpd = config->DdiPortBHpd; + params->DdiPortCHpd = config->DdiPortCHpd; + params->DdiPortDHpd = config->DdiPortDHpd; + params->DdiPortFHpd = config->DdiPortFHpd; + + /* DDC of DDI ports */ + params->DdiPortBDdc = config->DdiPortBDdc; + params->DdiPortCDdc = config->DdiPortCDdc; + params->DdiPortDDdc = config->DdiPortDDdc; + params->DdiPortFDdc = config->DdiPortFDdc; + /* S0ix */ params->PchPmSlpS0Enable = config->s0ix_enable; |