import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arc / kernel / clk.c
CommitLineData
d8005e6b
VG
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
68e4790e 11unsigned long core_freq = 80000000;
450dd430
VG
12
13/*
14 * As of now we default to device-tree provided clock
15 * In future we can determine this in early boot
16 */
17int arc_set_core_freq(unsigned long freq)
18{
19 core_freq = freq;
20 return 0;
21}