projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57ac8a
)
bf609: clock: drop unused clock bit set/clear functions
author
Steven Miao
<realmz6@gmail.com>
Fri, 11 Apr 2014 15:54:25 +0000
(23:54 +0800)
committer
Steven Miao
<realmz6@gmail.com>
Sat, 12 Apr 2014 00:48:00 +0000
(08:48 +0800)
Signed-off-by: Steven Miao <realmz6@gmail.com>
arch/blackfin/mach-bf609/clock.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-bf609/clock.c
b/arch/blackfin/mach-bf609/clock.c
index
13644ed
..
56200f3
100644
(file)
--- 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;