diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/apollolake/chip.c | 2 | ||||
-rw-r--r-- | 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 71470111ae..04aa2ebd99 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -737,7 +737,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd) if (is_devfn_enabled(PCH_DEVFN_SATA)) { silconfig->SataSalpSupport = !(cfg->DisableSataSalpSupport); silconfig->SpeedLimit = cfg->sata_speed; - memcpy(silconfig->SataPortsEnable, cfg->SataPortsEnable, + memcpy(silconfig->SataPortsEnable, cfg->sata_ports_enable, sizeof(silconfig->SataPortsEnable)); memcpy(silconfig->SataPortsSolidStateDrive, cfg->sata_ports_ssd, sizeof(silconfig->SataPortsSolidStateDrive)); diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h index 45b60d3c89..b95625234a 100644 --- a/src/soc/intel/apollolake/chip.h +++ b/src/soc/intel/apollolake/chip.h @@ -107,7 +107,7 @@ struct soc_intel_apollolake_config { uint8_t SataPortsHotPlug[2]; /* Sata Ports Enable */ - uint8_t SataPortsEnable[2]; + uint8_t sata_ports_enable[2]; /* Sata Ports Solid State Drive */ uint8_t sata_ports_ssd[2]; |