summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/amd/agesa/hudson/acpi/fch.asl5
-rw-r--r--src/southbridge/amd/pi/hudson/acpi/fch.asl9
2 files changed, 11 insertions, 3 deletions
diff --git a/src/southbridge/amd/agesa/hudson/acpi/fch.asl b/src/southbridge/amd/agesa/hudson/acpi/fch.asl
index 4d53051ad2..83e3410ccb 100644
--- a/src/southbridge/amd/agesa/hudson/acpi/fch.asl
+++ b/src/southbridge/amd/agesa/hudson/acpi/fch.asl
@@ -146,6 +146,10 @@ Method(_CRS, 0) {
Return(CRES) /* note to change the Name buffer */
} /* end of Method(_SB.PCI0._CRS) */
+#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
+ #include "acpi/AmdImc.asl" /* Hudson IMC function */
+#endif
+
/*
*
* FIRST METHOD CALLED UPON BOOT
@@ -172,7 +176,6 @@ Method(_INI, 0) {
OSFL()
#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
- #include "acpi/AmdImc.asl" /* Hudson IMC function */
#if IS_ENABLED(CONFIG_ACPI_ENABLE_THERMAL_ZONE)
ITZE() /* enable IMC Fan Control*/
#endif
diff --git a/src/southbridge/amd/pi/hudson/acpi/fch.asl b/src/southbridge/amd/pi/hudson/acpi/fch.asl
index 0c6e76833e..17f5140a71 100644
--- a/src/southbridge/amd/pi/hudson/acpi/fch.asl
+++ b/src/southbridge/amd/pi/hudson/acpi/fch.asl
@@ -129,6 +129,13 @@ Method(_CRS, 0) {
Return(CRES) /* note to change the Name buffer */
} /* end of Method(_SB.PCI0._CRS) */
+#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
+ /* TODO: It is unstable.
+ * might be fixed by restructuring
+ */
+ #include "acpi/AmdImc.asl" /* Hudson IMC function */
+#endif
+
/*
*
* FIRST METHOD CALLED UPON BOOT
@@ -155,8 +162,6 @@ Method(_INI, 0) {
OSFL()
#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
- /* TODO: It is unstable. */
- #include "acpi/AmdImc.asl" /* Hudson IMC function */
#if IS_ENABLED(CONFIG_ACPI_ENABLE_THERMAL_ZONE)
ITZE() /* enable IMC Fan Control*/
#endif