aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/chip.h
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2020-07-08 08:18:16 -0600
committerMarshall Dawson <marshalldawson3rd@gmail.com>2020-07-28 20:21:07 +0000
commit8079c5c1c2b76ebd01cfcddcef4b5398ee860403 (patch)
treee469d48be2612eb1f0a25596aae94db571ce81bf /src/soc/amd/picasso/chip.h
parent553a22e316e00d81e0a70afe3272c7b33a0bc571 (diff)
soc/amd/picasso: Add controls for SMT and downcoring
BUG=b:159198385 TEST=confirm both using Mandolin Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Change-Id: I91654817608ab62e4104959b8876333911b90175 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43299 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/chip.h')
-rw-r--r--src/soc/amd/picasso/chip.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/chip.h b/src/soc/amd/picasso/chip.h
index 62272c0927..b641379605 100644
--- a/src/soc/amd/picasso/chip.h
+++ b/src/soc/amd/picasso/chip.h
@@ -93,6 +93,14 @@ struct soc_amd_picasso_config {
/* PROCHOT_L de-assertion Ramp Time */
uint32_t prochot_l_deassertion_ramp_time;
+ enum {
+ DOWNCORE_AUTO = 0,
+ DOWNCORE_1 = 1, /* Run with single core */
+ DOWNCORE_2 = 3, /* Run with two cores */
+ DOWNCORE_3 = 4, /* Run with three cores */
+ } downcore_mode;
+ uint8_t smt_disable; /* 1=disable SMT, 0=enable SMT */
+
/* Lower die temperature limit */
uint32_t thermctl_limit;