summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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];