soc/intel/common/lpss: Drop now unused lpss_clk_read()
Change-Id: I7def72e820ee1a4fa47c34b26dab9e0886ba74e6 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33094 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lance Zhao <lance.zhao@gmail.com>
This commit is contained in:
parent
c345570acc
commit
51dc5ea735
|
@ -30,7 +30,4 @@ void lpss_clk_update(uintptr_t base, uint32_t clk_m_val, uint32_t clk_n_val);
|
||||||
/* Check if controller is in reset. */
|
/* Check if controller is in reset. */
|
||||||
bool lpss_is_controller_in_reset(uintptr_t base);
|
bool lpss_is_controller_in_reset(uintptr_t base);
|
||||||
|
|
||||||
/* Read LPSS CLK register */
|
|
||||||
uint32_t lpss_clk_read(uintptr_t base);
|
|
||||||
|
|
||||||
#endif /* SOC_INTEL_COMMON_BLOCK_LPSS_H */
|
#endif /* SOC_INTEL_COMMON_BLOCK_LPSS_H */
|
||||||
|
|
|
@ -69,12 +69,3 @@ void lpss_clk_update(uintptr_t base, uint32_t clk_m_val, uint32_t clk_n_val)
|
||||||
|
|
||||||
write32(addr, clk_sel);
|
write32(addr, clk_sel);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t lpss_clk_read(uintptr_t base)
|
|
||||||
{
|
|
||||||
uint8_t *addr = (void *)base;
|
|
||||||
|
|
||||||
addr += LPSS_CLOCK_CTL_REG;
|
|
||||||
|
|
||||||
return read32(addr);
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue