blob: bf9d29f5bd53b4a497f480312ee6c91b506373a3 [file] [log] [blame]
Vineet Guptad8005e62013-01-18 15:12:18 +05301/*
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#ifndef _ASM_ARC_CLK_H
10#define _ASM_ARC_CLK_H
11
12/* Although we can't really hide core_freq, the accessor is still better way */
13extern unsigned long core_freq;
14
15static inline unsigned long arc_get_core_freq(void)
16{
17 return core_freq;
18}
19
Vineet Gupta450dd432013-01-18 15:12:20 +053020extern int arc_set_core_freq(unsigned long);
21
Vineet Guptad8005e62013-01-18 15:12:18 +053022#endif