summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/cezanne/include/soc/southbridge.h
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-02-09 22:55:04 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-02-10 23:25:21 +0000
commite094b1f137fa6d3168b836c498ede87079a10b8e (patch)
tree45f501e484f81caed179adbe25613cf70dee3fd1 /src/soc/amd/cezanne/include/soc/southbridge.h
parent259cccd7e7faf23047b9fe9fb551f27c8fd4ee27 (diff)
downloadcoreboot-e094b1f137fa6d3168b836c498ede87079a10b8e.tar.gz
coreboot-e094b1f137fa6d3168b836c498ede87079a10b8e.tar.bz2
coreboot-e094b1f137fa6d3168b836c498ede87079a10b8e.zip
soc/amd/cezanne/fch: add HAVE_SMI_HANDLER case to fch_init_acpi_ports
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ie7bab29ae8d0e28c392210f8dcbaa4441ca61114 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50454 Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/cezanne/include/soc/southbridge.h')
-rw-r--r--src/soc/amd/cezanne/include/soc/southbridge.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/include/soc/southbridge.h b/src/soc/amd/cezanne/include/soc/southbridge.h
index 9353e13ace2b..dcb5ef187234 100644
--- a/src/soc/amd/cezanne/include/soc/southbridge.h
+++ b/src/soc/amd/cezanne/include/soc/southbridge.h
@@ -6,6 +6,8 @@
#include <soc/iomap.h>
/* Power management registers: 0xfed80300 or index/data at IO 0xcd6/cd7 */
+#define PM_PCI_CTRL 0x08
+#define FORCE_SLPSTATE_RETRY BIT(25)
#define PWR_RESET_CFG 0x10
#define TOGGLE_ALL_PWR_GOOD (1 << 1)
#define PM_SERIRQ_CONF 0x54
@@ -50,6 +52,8 @@
#define PM_ACPI_WAKE_AS_GEVENT BIT(27)
#define PM_ACPI_NB_PME_GEVENT BIT(28)
#define PM_ACPI_RTC_WAKE_EN BIT(29)
+#define PM_RST_CTRL1 0xbe
+#define SLPTYPE_CONTROL_EN BIT(5)
#define PM_LPC_GATING 0xec
#define PM_LPC_AB_NO_BYPASS_EN BIT(2)
#define PM_LPC_A20_EN BIT(1)