diff options
author | Barnali Sarkar <barnali.sarkar@intel.com> | 2016-08-12 00:05:27 +0530 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-14 19:20:55 +0200 |
commit | 49eca133533a1859764d9faf8cd858c4b87ad21c (patch) | |
tree | 21d4f6d81d1e168d5315b34b24960536fa4a3686 /src/soc/intel/skylake/romstage | |
parent | 289f0578ce86bac8b0d03efa1244d0b0f8920364 (diff) | |
download | coreboot-49eca133533a1859764d9faf8cd858c4b87ad21c.tar.xz |
soc/intel/skylake: Change name pmc_tco_regs to smbus_tco_regs
The function name "pmc_tco_regs" is changed to "smbus_tco_regs"
since TCO offsets belongs to SMBUS PCI device.
BUG=none
BRANCH=none
TEST=Built and booted kunimitsu
Change-Id: I4ac26df81a8221329f2b45053dd5243cd02f8ad7
Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com>
Reviewed-on: https://review.coreboot.org/16155
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/soc/intel/skylake/romstage')
-rw-r--r-- | src/soc/intel/skylake/romstage/pch.c | 2 | ||||
-rw-r--r-- | src/soc/intel/skylake/romstage/power_state.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/skylake/romstage/pch.c b/src/soc/intel/skylake/romstage/pch.c index e8c41cbe81..26677e8200 100644 --- a/src/soc/intel/skylake/romstage/pch.c +++ b/src/soc/intel/skylake/romstage/pch.c @@ -94,7 +94,7 @@ static void pch_device_init(void) pci_write_config32(dev, ACTL, reg32); /* TCO timer halt */ - tcobase = pmc_tco_regs(); + tcobase = smbus_tco_regs(); tcocnt = inw(tcobase + TCO1_CNT); tcocnt |= TCO_TMR_HLT; outw(tcocnt, tcobase + TCO1_CNT); diff --git a/src/soc/intel/skylake/romstage/power_state.c b/src/soc/intel/skylake/romstage/power_state.c index 1305062e5b..61851a587d 100644 --- a/src/soc/intel/skylake/romstage/power_state.c +++ b/src/soc/intel/skylake/romstage/power_state.c @@ -131,7 +131,7 @@ struct chipset_power_state *fill_power_state(void) uint8_t *pmc; struct chipset_power_state *ps = car_get_var_ptr(&power_state); - tcobase = pmc_tco_regs(); + tcobase = smbus_tco_regs(); ps->pm1_sts = inw(ACPI_BASE_ADDRESS + PM1_STS); ps->pm1_en = inw(ACPI_BASE_ADDRESS + PM1_EN); |