diff options
author | Steven Miao <realmz6@gmail.com> | 2014-04-11 11:54:25 -0400 |
---|---|---|
committer | Steven Miao <realmz6@gmail.com> | 2014-04-11 20:48:00 -0400 |
commit | f8ef77d9389f9b52fe80de4f1b236af3391420b8 (patch) | |
tree | a69b2616040f7b1a86cc9247a9632e8cae1d8949 /arch/blackfin | |
parent | f57ac8a744db2fcda47d13e6b54d2d2ed2624d6a (diff) |
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) | |||
73 | bfin_write32(reg, val2); | 73 | bfin_write32(reg, val2); |
74 | } | 74 | } |
75 | 75 | ||
76 | static void clk_reg_set_bits(u32 reg, uint32_t mask) | ||
77 | { | ||
78 | u32 val; | ||
79 | |||
80 | val = bfin_read32(reg); | ||
81 | val |= mask; | ||
82 | bfin_write32(reg, val); | ||
83 | } | ||
84 | |||
85 | static void clk_reg_clear_bits(u32 reg, uint32_t mask) | ||
86 | { | ||
87 | u32 val; | ||
88 | |||
89 | val = bfin_read32(reg); | ||
90 | val &= ~mask; | ||
91 | bfin_write32(reg, val); | ||
92 | } | ||
93 | |||
94 | int wait_for_pll_align(void) | 76 | int wait_for_pll_align(void) |
95 | { | 77 | { |
96 | int i = 10000; | 78 | int i = 10000; |