summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/agesawrapper.h1
-rw-r--r--src/soc/amd/stoneyridge/northbridge.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/agesawrapper.h b/src/soc/amd/common/block/include/amdblocks/agesawrapper.h
index 986d6f8be6..942936613e 100644
--- a/src/soc/amd/common/block/include/amdblocks/agesawrapper.h
+++ b/src/soc/amd/common/block/include/amdblocks/agesawrapper.h
@@ -62,5 +62,6 @@ void SetFchEnvParams(FCH_INTERFACE *params);
void SetNbEnvParams(GNB_ENV_CONFIGURATION *params);
void SetFchMidParams(FCH_INTERFACE *params);
void SetNbMidParams(GNB_MID_CONFIGURATION *params);
+void set_board_env_params(GNB_ENV_CONFIGURATION *params);
#endif /* __AGESAWRAPPER_H__ */
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)