summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2023-06-15 14:43:27 +0200
committerJakub Czapiga <jacz@semihalf.com>2023-06-19 11:10:19 +0000
commitc7beb4f3176dc0e3cf26be46a7385b6352ba3b2b (patch)
treea1f3b5ca2c9f7c0572e6ad8055ca716e2ffb92f8 /src/soc/intel
parent53ad07a1eccefd80d0fc21c2103ced1f23573de2 (diff)
soc/intel/apollolake: Switch to snake case for DisableSataSalpSupport
For a unification of the naming convension, change from pascal case to snake case style for parameter 'DisableSataSalpSupport'. Change-Id: I4a68ffd2b68c92434da681b5e5567329c8784c72 Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75858 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel')
-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 5f9b346cc3..44daa5edf9 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -736,7 +736,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
/* SATA config */
if (is_devfn_enabled(PCH_DEVFN_SATA)) {
- silconfig->SataSalpSupport = !(cfg->DisableSataSalpSupport);
+ silconfig->SataSalpSupport = !(cfg->disable_sata_salp_support);
ahci_set_speed(cfg->sata_speed);
memcpy(silconfig->SataPortsEnable, cfg->sata_ports_enable,
sizeof(silconfig->SataPortsEnable));
diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h
index 2d6b07929d..d43f3f0292 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -221,7 +221,7 @@ struct soc_intel_apollolake_config {
uint8_t disable_xhci_lfps_pm;
/* SATA Aggressive Link Power Management */
- uint8_t DisableSataSalpSupport;
+ uint8_t disable_sata_salp_support;
/* Sata Power Optimisation */
uint8_t SataPwrOptimizeDisable;