diff options
Diffstat (limited to 'arch/arc/kernel/clk.c')
-rw-r--r-- | arch/arc/kernel/clk.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arc/kernel/clk.c b/arch/arc/kernel/clk.c index 64925db9eb5e..66ce0dc917fb 100644 --- a/arch/arc/kernel/clk.c +++ b/arch/arc/kernel/clk.c | |||
@@ -8,4 +8,14 @@ | |||
8 | 8 | ||
9 | #include <asm/clk.h> | 9 | #include <asm/clk.h> |
10 | 10 | ||
11 | unsigned long core_freq = CONFIG_ARC_PLAT_CLK; | 11 | unsigned long core_freq = 800000000; |
12 | |||
13 | /* | ||
14 | * As of now we default to device-tree provided clock | ||
15 | * In future we can determine this in early boot | ||
16 | */ | ||
17 | int arc_set_core_freq(unsigned long freq) | ||
18 | { | ||
19 | core_freq = freq; | ||
20 | return 0; | ||
21 | } | ||