summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/lpss/lpss.c
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-05-29 23:26:07 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-06-03 13:23:38 +0000
commit51dc5ea735cd175a6d38d59d8b3b3eadee027e6c (patch)
tree1d6d60be25d27c3fbe531577a342263cbee0b2d1 /src/soc/intel/common/block/lpss/lpss.c
parentc345570acce55a2cb13a65bf06c4e1d8069f7b36 (diff)
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>
Diffstat (limited to 'src/soc/intel/common/block/lpss/lpss.c')
-rw-r--r--src/soc/intel/common/block/lpss/lpss.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/soc/intel/common/block/lpss/lpss.c b/src/soc/intel/common/block/lpss/lpss.c
index 1168871d09..6b6d17b106 100644
--- a/src/soc/intel/common/block/lpss/lpss.c
+++ b/src/soc/intel/common/block/lpss/lpss.c
@@ -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);
}
-
-uint32_t lpss_clk_read(uintptr_t base)
-{
- uint8_t *addr = (void *)base;
-
- addr += LPSS_CLOCK_CTL_REG;
-
- return read32(addr);
-}