diff options
author | Steven Miao <realmz6@gmail.com> | 2014-04-11 17:54:25 +0200 |
---|---|---|
committer | Steven Miao <realmz6@gmail.com> | 2014-04-12 02:48:00 +0200 |
commit | f8ef77d9389f9b52fe80de4f1b236af3391420b8 (patch) | |
tree | a69b2616040f7b1a86cc9247a9632e8cae1d8949 /arch/blackfin | |
parent | Blackfin: bf537: rename "CONFIG_ADT75" (diff) | |
download | linux-f8ef77d9389f9b52fe80de4f1b236af3391420b8.tar.xz linux-f8ef77d9389f9b52fe80de4f1b236af3391420b8.zip |
bf609: clock: drop unused clock bit set/clear functions
Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch/blackfin')
-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; |