Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175614
b: refs/heads/master
c: 82e9bd5
h: refs/heads/master
v: v3
  • Loading branch information
Paul Walmsley authored and paul committed Dec 11, 2009
1 parent a760b27 commit bbe31f6
Show file tree
Hide file tree
Showing 9 changed files with 3,458 additions and 3,386 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75d43340113e3822e390f644e8b197737e4c553e
refs/heads/master: 82e9bd588563c4e22ebb55b684ebec7e310cc715
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-omap2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ obj-$(CONFIG_ARCH_OMAP4) += cm4xxx.o

# Clock framework
obj-$(CONFIG_ARCH_OMAP2) += clock24xx.o
obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o
obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clock34xx_data.o

# EMU peripherals
obj-$(CONFIG_OMAP3_EMU) += emu.o
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-omap2/clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ extern const struct clkops clkops_omap2_dflt;

extern u8 cpu_mask;

extern struct clk_functions omap2_clk_functions;

/* clksel_rate data common to 24xx/343x */
static const struct clksel_rate gpt_32k_rates[] = {
{ .div = 1, .val = 0, .flags = RATE_IN_24XX | RATE_IN_343X | DEFAULT_RATE },
Expand Down
21 changes: 2 additions & 19 deletions trunk/arch/arm/mach-omap2/clock24xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <plat/clock.h>
#include <plat/sram.h>
#include <plat/prcm.h>
#include <plat/clkdev_omap.h>
#include <asm/div64.h>
#include <asm/clkdev.h>

Expand Down Expand Up @@ -59,24 +60,6 @@ static const struct clkops clkops_omap2430_i2chs_wait = {

#include "clock24xx.h"

struct omap_clk {
u32 cpu;
struct clk_lookup lk;
};

#define CLK(dev, con, ck, cp) \
{ \
.cpu = cp, \
.lk = { \
.dev_id = dev, \
.con_id = con, \
.clk = ck, \
}, \
}

#define CK_243X RATE_IN_243X
#define CK_242X RATE_IN_242X

static struct omap_clk omap24xx_clks[] = {
/* external root sources */
CLK(NULL, "func_32k_ck", &func_32k_ck, CK_243X | CK_242X),
Expand Down Expand Up @@ -658,7 +641,7 @@ void omap2_clk_init_cpufreq_table(struct cpufreq_frequency_table **table)
}
#endif

static struct clk_functions omap2_clk_functions = {
struct clk_functions omap2_clk_functions = {
.clk_enable = omap2_clk_enable,
.clk_disable = omap2_clk_disable,
.clk_round_rate = omap2_clk_round_rate,
Expand Down
Loading

0 comments on commit bbe31f6

Please sign in to comment.