soc/intel/apollolake: Switch to snake case for SataPwrOptimizeDisable
For a unification of the naming convension, change from pascal case to
snake case style for parameter 'SataPwrOptimizeDisable'.
Change-Id: I35b36f60d2f00bfad307dff7bd131c20ebccf60b
Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75859
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index 44daa5e..0e54fd8 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -745,7 +745,7 @@
}
/* Sata Power Optimisation */
- silconfig->SataPwrOptEnable = !(cfg->SataPwrOptimizeDisable);
+ silconfig->SataPwrOptEnable = !(cfg->sata_pwr_optimize_disable);
/* 8254 Timer */
bool use_8254 = get_uint_option("legacy_8254_timer", CONFIG(USE_LEGACY_8254_TIMER));
diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h
index d43f3f0..378fccb 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -224,7 +224,7 @@
uint8_t disable_sata_salp_support;
/* Sata Power Optimisation */
- uint8_t SataPwrOptimizeDisable;
+ uint8_t sata_pwr_optimize_disable;
/* SATA speed limit */
enum sata_speed_limit sata_speed;