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 64925db..66ce0dc 100644 --- a/arch/arc/kernel/clk.c +++ b/arch/arc/kernel/clk.c @@ -8,4 +8,14 @@ #include <asm/clk.h> -unsigned long core_freq = CONFIG_ARC_PLAT_CLK; +unsigned long core_freq = 800000000; + +/* + * As of now we default to device-tree provided clock + * In future we can determine this in early boot + */ +int arc_set_core_freq(unsigned long freq) +{ + core_freq = freq; + return 0; +} |