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 <mario.scheithauer@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75852
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 9ec52b1..76a6cc4 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -689,7 +689,7 @@
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 b956252..fa22415 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -104,7 +104,7 @@
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];