From b5c2350145c8e757e60df8b5158d0e2e8307d37d Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 20 Apr 2021 22:40:25 +0200 Subject: soc/amd/picasso/chip.h: use boolean type for smt_disable Even though the UPD field this information is finally written to is an 8 bit value, the smt_disable option is only a boolean. Signed-off-by: Felix Held Change-Id: Iaac49944993a28ffb98a80201effe1238ec60875 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52553 Reviewed-by: Raul Rangel Reviewed-by: Marshall Dawson Tested-by: build bot (Jenkins) --- src/soc/amd/picasso/chip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/amd/picasso') diff --git a/src/soc/amd/picasso/chip.h b/src/soc/amd/picasso/chip.h index 4329bdd4ed..e357f549c4 100644 --- a/src/soc/amd/picasso/chip.h +++ b/src/soc/amd/picasso/chip.h @@ -146,7 +146,7 @@ struct soc_amd_picasso_config { 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 */ + bool smt_disable; /* true=disable SMT on all physical cores */ /* Lower die temperature limit */ uint32_t thermctl_limit_degreeC; -- cgit v1.2.3