summary refs log tree commit diff
path: root/arch/arc/plat-axs10x
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2016-02-01 17:30:17 +0300
committerVineet Gupta <vgupta@synopsys.com>2016-05-09 09:32:30 +0530
commit20c7dbbdbe12db75f9e9ac3fd0d713ab95549623 (patch)
treec23b637b6c47e3cf499d0eb175624c998cb5527d /arch/arc/plat-axs10x
parent0e6e9b648d802fe6641fe543b6dc4828baded159 (diff)
downloadlinux-20c7dbbdbe12db75f9e9ac3fd0d713ab95549623.tar.gz
ARC: Don't try to use value of top level clock-frequency in DT
We no longer use it and instead a real clk device such as fixed-clk
instance is fed to timers etc.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
[vgupta: broken out of a bigger patch, rewrote changelog]
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/plat-axs10x')
-rw-r--r--arch/arc/plat-axs10x/axs10x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arc/plat-axs10x/axs10x.c b/arch/arc/plat-axs10x/axs10x.c
index f90fac271d16..9701c93f315d 100644
--- a/arch/arc/plat-axs10x/axs10x.c
+++ b/arch/arc/plat-axs10x/axs10x.c
@@ -19,7 +19,6 @@
 #include <linux/libfdt.h>
 
 #include <asm/asm-offsets.h>
-#include <asm/clk.h>
 #include <asm/io.h>
 #include <asm/mach_desc.h>
 #include <asm/mcip.h>
@@ -448,7 +447,6 @@ static void __init axs103_early_init(void)
 
 	/* Patching .dtb in-place with new core clock value */
 	if (freq != orig ) {
-		arc_set_core_freq(freq * 1000000);
 		freq = cpu_to_be32(freq * 1000000);
 		fdt_setprop_inplace(initial_boot_params, offset,
 				    "clock-frequency", &freq, sizeof(freq));