From 9248bb35ab411c79467f5a79607994f4054baa7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 22 Jul 2014 15:56:59 +0300 Subject: AGESA hudson yangtze: Move IMC firmware init out of get_bus_conf() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5b3cbc4d25f06a5f916760d4474621abbf826ee4 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/6355 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/cpu/amd/agesa/amd_late_init.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/cpu/amd/agesa') diff --git a/src/cpu/amd/agesa/amd_late_init.c b/src/cpu/amd/agesa/amd_late_init.c index 0453006b0f..f893741528 100644 --- a/src/cpu/amd/agesa/amd_late_init.c +++ b/src/cpu/amd/agesa/amd_late_init.c @@ -24,6 +24,9 @@ #include "agesawrapper.h" #include +#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM) +#include +#endif #if CONFIG_AMD_SB_CIMX #include #endif @@ -40,6 +43,11 @@ static void agesawrapper_post_device(void *unused) /* Preparation for write_tables(). */ get_bus_conf(); +#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM) + /* AMD AGESA does not enable thermal zone, so we enable it here. */ + enable_imc_thermal_zone(); +#endif + #if CONFIG_AMD_SB_CIMX sb_Late_Post(); #endif -- cgit v1.2.3