diff --git a/src/soc/intel/skylake/chip.c b/src/soc/intel/skylake/chip.c index 7014c24d9e..dfa813a692 100644 --- a/src/soc/intel/skylake/chip.c +++ b/src/soc/intel/skylake/chip.c @@ -132,7 +132,10 @@ void soc_silicon_init_params(SILICON_INIT_UPD *params) params->EnableLan = config->EnableLan; params->Cio2Enable = config->Cio2Enable; params->SataSalpSupport = config->SataSalpSupport; - params->SataPortsEnable[0] = config->SataPortsEnable[0]; + memcpy(params->SataPortsEnable, config->SataPortsEnable, + sizeof(params->SataPortsEnable)); + memcpy(params->SataPortsDevSlp, config->SataPortsDevSlp, + sizeof(params->SataPortsDevSlp)); params->SsicPortEnable = config->SsicPortEnable; params->SmbusEnable = config->SmbusEnable; params->ScsEmmcEnabled = config->ScsEmmcEnabled;