summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/amd/pi/hudson/Kconfig9
-rw-r--r--src/southbridge/amd/pi/hudson/hudson.h2
2 files changed, 10 insertions, 1 deletions
diff --git a/src/southbridge/amd/pi/hudson/Kconfig b/src/southbridge/amd/pi/hudson/Kconfig
index 233260f026..25dbdb85cd 100644
--- a/src/southbridge/amd/pi/hudson/Kconfig
+++ b/src/southbridge/amd/pi/hudson/Kconfig
@@ -219,6 +219,15 @@ config SERIRQ_CONTINUOUS_MODE
help
Set this option to y for serial IRQ in continuous mode.
Otherwise it is in quiet mode.
+
+config HUDSON_ACPI_IO_BASE
+ hex
+ default 0x400 if CPU_AMD_PI_00670F00_FP4 || CPU_AMD_PI_00670F00_FT4
+ default 0x800
+ help
+ Base address for the ACPI registers.
+ This value must match the hardcoded value of AGESA.
+
endif
config HUDSON_UART
diff --git a/src/southbridge/amd/pi/hudson/hudson.h b/src/southbridge/amd/pi/hudson/hudson.h
index e20238f2c3..2ccd485b68 100644
--- a/src/southbridge/amd/pi/hudson/hudson.h
+++ b/src/southbridge/amd/pi/hudson/hudson.h
@@ -51,7 +51,7 @@
#define PM_YANG_SD_FLASH_CTRL 0xE8
#define PM_PCIB_CFG 0xEA
-#define HUDSON_ACPI_IO_BASE 0x800
+#define HUDSON_ACPI_IO_BASE CONFIG_HUDSON_ACPI_IO_BASE
#define ACPI_PM_EVT_BLK (HUDSON_ACPI_IO_BASE + 0x00) /* 4 bytes */
#define ACPI_PM1_CNT_BLK (HUDSON_ACPI_IO_BASE + 0x04) /* 2 bytes */
#define ACPI_PM_TMR_BLK (HUDSON_ACPI_IO_BASE + 0x18) /* 4 bytes */