summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/cezanne
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2021-12-10 14:28:21 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-12-14 16:03:40 +0000
commit3437a6fbb0f6d61a692a0c0b82c45b77e27ead8e (patch)
treeceea4704857ba8f0082a8a1ee788b3577a3892af /src/soc/amd/cezanne
parent941239d54d972f23c42dc47d19801e2dc4957063 (diff)
downloadcoreboot-3437a6fbb0f6d61a692a0c0b82c45b77e27ead8e.tar.gz
coreboot-3437a6fbb0f6d61a692a0c0b82c45b77e27ead8e.tar.bz2
coreboot-3437a6fbb0f6d61a692a0c0b82c45b77e27ead8e.zip
soc/amd/{cezanne,common}: Add PSP_S0I3_RESUME_VERSTAGE Kconfig option
Add PSP_S0I3_RESUME_VERSTAGE Kconfig option. When enabled, verstage will be run in PSP during S0i3 resume. Setting softfuse bit 40 enables this in PSP. BUG=b:200578885, b:202397678 BRANCH=None TEST=Verstage runs during s0i3 resume on Nipperkin Change-Id: I2c185f787c1e77bd09f6cbbb1f47deb665ed0c79 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60024 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/cezanne')
-rw-r--r--src/soc/amd/cezanne/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/Makefile.inc b/src/soc/amd/cezanne/Makefile.inc
index 58df7406eda9..a05da8dc7616 100644
--- a/src/soc/amd/cezanne/Makefile.inc
+++ b/src/soc/amd/cezanne/Makefile.inc
@@ -110,6 +110,10 @@ else
PSP_SOFTFUSE_BITS += 29
endif
+ifeq ($(CONFIG_PSP_S0I3_RESUME_VERSTAGE),y)
+PSP_SOFTFUSE_BITS += 40
+endif
+
# Use additional Soft Fuse bits specified in Kconfig
PSP_SOFTFUSE_BITS += $(call strip_quotes, $(CONFIG_PSP_SOFTFUSE_BITS))