aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-03-25 00:50:34 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-03-29 18:56:36 +0000
commitc1042ba2c5dc19194a75a87f1e717f411582dc9a (patch)
tree6ac2cc28df5261e293fe1252a3627ca5a9747534 /src/soc/amd/common
parent51d6f5cc0a75c32a19489fb22f004b4678bbd9f4 (diff)
soc/amd: move PM_RST_CTRL1 register definition to common acpimmio header
TEST=Verified that this register and the defined bits exist in Cezanne, Picasso, Stoneyridge, Bolton and SB800. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I32d1d577b05edab006981516a5aefd822e7b984a Reviewed-on: https://review.coreboot.org/c/coreboot/+/51783 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/acpimmio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/acpimmio.h b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
index 7891bfddb1..2e1da882c0 100644
--- a/src/soc/amd/common/block/include/amdblocks/acpimmio.h
+++ b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
@@ -26,6 +26,9 @@
#define LEGACY_DMA_IO_EN (1 << 2)
#define CF9_IO_EN (1 << 1)
#define LEGACY_IO_EN (1 << 0)
+#define PM_RST_CTRL1 0xbe
+#define SLPTYPE_CONTROL_EN (1 << 5)
+#define KBRSTEN (1 << 4)
#define PM_RST_STATUS 0xc0
/*