diff options
author | Steven Miao <realmz6@gmail.com> | 2014-04-11 23:54:25 +0800 |
---|---|---|
committer | Steven Miao <realmz6@gmail.com> | 2014-04-12 08:48:00 +0800 |
commit | f8ef77d9389f9b52fe80de4f1b236af3391420b8 (patch) | |
tree | a69b2616040f7b1a86cc9247a9632e8cae1d8949 | |
parent | f57ac8a744db2fcda47d13e6b54d2d2ed2624d6a (diff) | |
download | linux-f8ef77d9389f9b52fe80de4f1b236af3391420b8.tar.bz2 |
bf609: clock: drop unused clock bit set/clear functions
Signed-off-by: Steven Miao <realmz6@gmail.com>
-rw-r--r-- | arch/blackfin/mach-bf609/clock.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/blackfin/mach-bf609/clock.c b/arch/blackfin/mach-bf609/clock.c index 13644ed25489..56200f37cfc8 100644 --- a/arch/blackfin/mach-bf609/clock.c +++ b/arch/blackfin/mach-bf609/clock.c @@ -73,24 +73,6 @@ static void clk_reg_write_mask(u32 reg, uint32_t val, uint32_t mask) 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 i = 10000; |