swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: b36f4be3de1b123d8601de062e7dbfc904f305fb authored by Linus Torvalds on 18 August 2013, 21:36:53 UTC
Linux 3.11-rc6
Tip revision: b36f4be
clk.c
/*
 * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <asm/clk.h>

unsigned long core_freq = 80000000;

/*
 * 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;
}
back to top