diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-11-09 17:04:15 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-11-11 03:11:31 +0100 |
commit | ed14a4e0df25e55cea2b72a87087aaeb3540c785 (patch) | |
tree | 5a60bd779391096d6554d9b94f384f158d7c3c00 /src/soc/intel/skylake/chip_fsp20.c | |
parent | ce21151a1c050476079c3ce31b8e8013f8cd3282 (diff) | |
download | coreboot-ed14a4e0df25e55cea2b72a87087aaeb3540c785.tar.xz |
soc/intel/skylake: move i2c voltage config to own variable
In preparation of merging the lpss i2c config structures on
apollolake and skylake move the i2c voltage variable to its
own field. It makes refactoring things easier, and then there's
no reason for a separate SoC specific i2c config structure.
BUG=chrome-os-partner:58889
Change-Id: Ibcc3cba9bac3b5779351b673bc0cc7671d127f24
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/17347
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/soc/intel/skylake/chip_fsp20.c')
-rw-r--r-- | src/soc/intel/skylake/chip_fsp20.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/chip_fsp20.c b/src/soc/intel/skylake/chip_fsp20.c index 98960f995e..49569d9617 100644 --- a/src/soc/intel/skylake/chip_fsp20.c +++ b/src/soc/intel/skylake/chip_fsp20.c @@ -203,7 +203,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd) params->CpuConfig.Bits.SkipMpInit = config->FspSkipMpInit; for (i = 0; i < ARRAY_SIZE(config->i2c); i++) - params->SerialIoI2cVoltage[i] = config->i2c[i].voltage; + params->SerialIoI2cVoltage[i] = config->i2c_voltage[i]; for (i = 0; i < ARRAY_SIZE(config->domain_vr_config); i++) fill_vr_domain_config(params, i, &config->domain_vr_config[i]); |