summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2023-06-15 14:36:09 +0200
committerJakub Czapiga <jacz@semihalf.com>2023-06-19 11:10:05 +0000
commit53ad07a1eccefd80d0fc21c2103ced1f23573de2 (patch)
tree026f743aefec48a8fe9a38951b8de26b0fa614e3 /src/soc/intel/apollolake
parent8c822189bd94527eb2e622ff31576a316bb6e35e (diff)
soc/intel/apollolake: Switch to snake case for PmicVdd2Voltage
For a unification of the naming convension, change from pascal case to snake case style for parameter 'PmicVdd2Voltage'. Change-Id: I179b8f5b56c5bfe7f6fc3148e4c95954c0755ffd Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75857 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/apollolake')
-rw-r--r--src/soc/intel/apollolake/chip.c2
-rw-r--r--src/soc/intel/apollolake/chip.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index 956a55b4a7..5f9b346cc3 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -622,7 +622,7 @@ static void glk_fsp_silicon_init_params_cb(
/*
* Options to adjust PMIC Vdd2 voltage.
*/
- silconfig->PmicVdd2Voltage = cfg->PmicVdd2Voltage;
+ silconfig->PmicVdd2Voltage = cfg->pmic_vdd2_voltage;
/* FSP should let coreboot set subsystem IDs, which are read/write-once */
silconfig->SiSVID = 0;
diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h
index 5a3aa880c5..2d6b07929d 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -204,7 +204,7 @@ struct soc_intel_apollolake_config {
* + OR Value (15:8) + AND Value (7:0) through BUCK5_VID[3:2]:
* 00=1.10v, 01=1.15v, 10=1.24v, 11=1.20v (default).
*/
- uint32_t PmicVdd2Voltage;
+ uint32_t pmic_vdd2_voltage;
/* Option to enable VTD feature. Default is 0 which disables VTD
* capability in FSP. Setting this option to 1 in devicetree will enable