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>
This commit is contained in:
committed by
Martin Roth
parent
289f0578ce
commit
49eca13353
@ -218,7 +218,7 @@ static u32 reset_tco_status(void)
|
||||
u16 tco2_sts;
|
||||
u16 tcobase;
|
||||
|
||||
tcobase = pmc_tco_regs();
|
||||
tcobase = smbus_tco_regs();
|
||||
|
||||
/* TCO Status 2 register*/
|
||||
tco2_sts = inw(tcobase + TCO2_STS);
|
||||
@ -421,7 +421,7 @@ uint8_t *pmc_mmio_regs(void)
|
||||
return (void *)(uintptr_t)reg32;
|
||||
}
|
||||
|
||||
uint16_t pmc_tco_regs(void)
|
||||
uint16_t smbus_tco_regs(void)
|
||||
{
|
||||
uint16_t reg16;
|
||||
|
||||
|
Reference in New Issue
Block a user