From 67fa48323551ea0e51b026740805a1d567b89897 Mon Sep 17 00:00:00 2001 From: Mario Scheithauer Date: Thu, 15 Jun 2023 13:57:35 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75852 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 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];