Commit f8ef77d9 authored by Steven Miao's avatar Steven Miao
Browse files

bf609: clock: drop unused clock bit set/clear functions


Signed-off-by: default avatarSteven Miao <realmz6@gmail.com>
parent f57ac8a7
...@@ -73,24 +73,6 @@ static void clk_reg_write_mask(u32 reg, uint32_t val, uint32_t mask) ...@@ -73,24 +73,6 @@ static void clk_reg_write_mask(u32 reg, uint32_t val, uint32_t mask)
bfin_write32(reg, val2); bfin_write32(reg, val2);
} }
static void clk_reg_set_bits(u32 reg, uint32_t mask)
{
u32 val;
val = bfin_read32(reg);
val |= mask;
bfin_write32(reg, val);
}
static void clk_reg_clear_bits(u32 reg, uint32_t mask)
{
u32 val;
val = bfin_read32(reg);
val &= ~mask;
bfin_write32(reg, val);
}
int wait_for_pll_align(void) int wait_for_pll_align(void)
{ {
int i = 10000; int i = 10000;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment