summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2023-06-15 13:57:35 +0200
committerJakub Czapiga <jacz@semihalf.com>2023-06-19 11:09:03 +0000
commit67fa48323551ea0e51b026740805a1d567b89897 (patch)
tree1a58d870199598bef1a57d04a23ed220da7939d4 /src/soc/intel/apollolake
parent54fda51e0c77757721dbe3e11b50d58910ab903a (diff)
soc/intel/apollolake: Switch to snake case for SataPortsHotPlug
For a unification of the naming convension, change from pascal case to snake case style for parameter 'SataPortsHotPlug'. Change-Id: I8fc8b30ac2c182ffaf2dee37e0116e27071b6a2c Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75852 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 9ec52b1b41..76a6cc4d1f 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -689,7 +689,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
if (cfg->emmc_host_max_speed != 0)
silconfig->eMMCHostMaxSpeed = cfg->emmc_host_max_speed;
- memcpy(silconfig->SataPortsHotPlug, cfg->SataPortsHotPlug,
+ memcpy(silconfig->SataPortsHotPlug, cfg->sata_ports_hot_plug,
sizeof(silconfig->SataPortsHotPlug));
silconfig->LPSS_S0ixEnable = cfg->lpss_s0ix_enable;
diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h
index b95625234a..fa22415dcb 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -104,7 +104,7 @@ struct soc_intel_apollolake_config {
uint8_t emmc_host_max_speed;
/* Sata Ports Hot Plug */
- uint8_t SataPortsHotPlug[2];
+ uint8_t sata_ports_hot_plug[2];
/* Sata Ports Enable */
uint8_t sata_ports_enable[2];