• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 
9 #include <asm/clk.h>
10 
11 unsigned long core_freq = 80000000;
12 
13 /*
14  * As of now we default to device-tree provided clock
15  * In future we can determine this in early boot
16  */
arc_set_core_freq(unsigned long freq)17 int arc_set_core_freq(unsigned long freq)
18 {
19 	core_freq = freq;
20 	return 0;
21 }
22