From 2e90ee38e76db64368aea6a97ad78df0ae6c351c Mon Sep 17 00:00:00 2001 From: Richard Spiegel Date: Tue, 24 Jul 2018 12:08:22 -0700 Subject: soc/amd/stoneyridge/northbridge.c: Create a way to change eDP training value The careena board needs different video settings to pass eye diagram test, which does not affect negatively the grunt board. In preparation for new VBIOS, create code that allows changing eDP training parameter. BUG=b:111673328 TEST=Tested in child patch. Change-Id: Ic0452618bfc5e05b9ef8280bb8ba398ec7b4ce95 Signed-off-by: Richard Spiegel Reviewed-on: https://review.coreboot.org/27625 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/soc/amd/stoneyridge/northbridge.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/amd/stoneyridge') diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c index 6af1351294..c78ca7cb58 100644 --- a/src/soc/amd/stoneyridge/northbridge.c +++ b/src/soc/amd/stoneyridge/northbridge.c @@ -481,9 +481,12 @@ u32 map_oprom_vendev(u32 vendev) return new_vendev; } +__weak void set_board_env_params(GNB_ENV_CONFIGURATION *params) { } + void SetNbEnvParams(GNB_ENV_CONFIGURATION *params) { params->IommuSupport = FALSE; + set_board_env_params(params); } void SetNbMidParams(GNB_MID_CONFIGURATION *params) -- cgit v1.2.3