Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149254
b: refs/heads/master
c: a03f7da
h: refs/heads/master
v: v3
  • Loading branch information
Werner Almesberger authored and Ben Dooks committed May 7, 2009
1 parent 424598a commit 70bd11a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2c977dca2901012ddabdc2a7b3c47a80c94d431
refs/heads/master: a03f7daf6df31b4d849031c51a3c10b8ba78ce67
1 change: 1 addition & 0 deletions trunk/arch/arm/plat-s3c/include/plat/clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ extern struct clk clk_xtal;
extern struct clk clk_ext;

/* S3C64XX specific clocks */
extern struct clk clk_h2;
extern struct clk clk_27m;
extern struct clk clk_48m;

Expand Down
7 changes: 7 additions & 0 deletions trunk/arch/arm/plat-s3c64xx/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
#include <plat/devs.h>
#include <plat/clock.h>

struct clk clk_h2 = {
.name = "hclk2",
.id = -1,
.rate = 0,
};

struct clk clk_27m = {
.name = "clk_27m",
.id = -1,
Expand Down Expand Up @@ -246,6 +252,7 @@ static struct clk *clks[] __initdata = {
&clk_epll,
&clk_27m,
&clk_48m,
&clk_h2,
};

void __init s3c64xx_register_clocks(void)
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/plat-s3c64xx/s3c6400-clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ void __init_or_cpufreq s3c6400_setup_clocks(void)
clk_fout_epll.rate = epll;
clk_fout_apll.rate = apll;

clk_h2.rate = hclk2;
clk_h.rate = hclk;
clk_p.rate = pclk;
clk_f.rate = fclk;
Expand Down

0 comments on commit 70bd11a

Please sign in to comment.