soc/amd/picasso: Update coreboot UPD variable names to include units
Use command below to change the variable globally.
sed -i "s/\<variable\>/variable_u/g" `grep variable -rl ./ \
--exclude-dir=build --exclude-dir=crossgcc`
BUG=b:171334623
TEST=Build
Change-Id: I056a76663e84ebc940343d64178c18cb20df01a3
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46840
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb b/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
index 3ab70a2..ffe2b7f 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
@@ -15,22 +15,22 @@
# For the below fields, 0 indicates use SOC default
# PROCHOT_L de-assertion Ramp Time
- register "prochot_l_deassertion_ramp_time" = "20" #mS
+ register "prochot_l_deassertion_ramp_time_ms" = "20"
# Lower die temperature limit
- register "thermctl_limit" = "100" #degrees C
+ register "thermctl_limit_degreeC" = "100"
# FP5 Processor Voltage Supply PSI Currents
- register "psi0_current_limit" = "18000" #mA
- register "psi0_soc_current_limit" = "12000" #mA
- register "vddcr_soc_voltage_margin" = "0" #mV
- register "vddcr_vdd_voltage_margin" = "0" #mV
+ register "psi0_current_limit_mA" = "18000"
+ register "psi0_soc_current_limit_mA" = "12000"
+ register "vddcr_soc_voltage_margin_mV" = "0"
+ register "vddcr_vdd_voltage_margin_mV" = "0"
# VRM Limits
- register "vrm_maximum_current_limit" = "0" #mA
- register "vrm_soc_maximum_current_limit" = "0" #mA
- register "vrm_current_limit" = "0" #mA
- register "vrm_soc_current_limit" = "0" #mA
+ register "vrm_maximum_current_limit_mA" = "0"
+ register "vrm_soc_maximum_current_limit_mA" = "0"
+ register "vrm_current_limit_mA" = "0"
+ register "vrm_soc_current_limit_mA" = "0"
# Misc SMU settings
register "sb_tsi_alert_comparator_mode_en" = "0"