summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/cpu/svi2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/block/cpu/svi2.c')
-rw-r--r--src/soc/amd/common/block/cpu/svi2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/cpu/svi2.c b/src/soc/amd/common/block/cpu/svi2.c
index 21d459fb2a..2e8766cf32 100644
--- a/src/soc/amd/common/block/cpu/svi2.c
+++ b/src/soc/amd/common/block/cpu/svi2.c
@@ -10,8 +10,8 @@
uint32_t get_uvolts_from_vid(uint16_t core_vid)
{
- if ((core_vid >= 0xF8) && (core_vid <= 0xFF)) {
- /* Voltage off for VID codes 0xF8 to 0xFF */
+ if (core_vid >= 0xF8) {
+ /* Voltage off for VID codes >= 0xF8 */
return 0;
} else {
return SERIAL_VID_2_MAX_MICROVOLTS -