From 3f1e034835fc40b43b95746b37b291de8c860810 Mon Sep 17 00:00:00 2001 From: Mario Scheithauer Date: Thu, 15 Jun 2023 14:46:42 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75859 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/chip.c | 2 +- src/soc/intel/apollolake/chip.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index 44daa5edf9..0e54fd8291 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -745,7 +745,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd) } /* 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 d43f3f0292..378fccb76b 100644 --- a/src/soc/intel/apollolake/chip.h +++ b/src/soc/intel/apollolake/chip.h @@ -224,7 +224,7 @@ struct soc_intel_apollolake_config { 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;