summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2023-05-31 14:36:22 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-06-02 17:58:46 +0000
commit7e5b28feb6a0b14c4303b9610bee3277dd8077fe (patch)
tree9045f9d524e05113c8b58b2264651651e40bf2b0 /src/soc
parent923215184d3720d836c2be75a95c629af6dac7c9 (diff)
soc/intel/apollolake: Switch to snake case for SataPortsEnable
For a unification of the naming convension, change from pascal case to snake case style for parameter 'SataPortsEnable'. Change-Id: I0df35125360eb42a03d5445011d72842cb2b8d7e Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75553 Reviewed-by: Himanshu Sahdev <himanshu.sahdev@intel.com> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jan Samek <jan.samek@siemens.com>
Diffstat (limited to 'src/soc')
-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 71470111ae..04aa2ebd99 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -737,7 +737,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
if (is_devfn_enabled(PCH_DEVFN_SATA)) {
silconfig->SataSalpSupport = !(cfg->DisableSataSalpSupport);
silconfig->SpeedLimit = cfg->sata_speed;
- memcpy(silconfig->SataPortsEnable, cfg->SataPortsEnable,
+ memcpy(silconfig->SataPortsEnable, cfg->sata_ports_enable,
sizeof(silconfig->SataPortsEnable));
memcpy(silconfig->SataPortsSolidStateDrive, cfg->sata_ports_ssd,
sizeof(silconfig->SataPortsSolidStateDrive));
diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h
index 45b60d3c89..b95625234a 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -107,7 +107,7 @@ struct soc_intel_apollolake_config {
uint8_t SataPortsHotPlug[2];
/* Sata Ports Enable */
- uint8_t SataPortsEnable[2];
+ uint8_t sata_ports_enable[2];
/* Sata Ports Solid State Drive */
uint8_t sata_ports_ssd[2];