aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-05-10 21:08:08 -0400
committerJason Cooper <jason@lakedaemon.net>2013-05-29 15:21:13 -0400
commited9f30a273d3868737104d17234859ca02c857b7 (patch)
treebe0b61fe63e66491dce88610d9dfc5ad4c1912ab /arch/arm/mach-kirkwood
parent367dc18dbae2d94e6486af3edc268443d716cb34 (diff)
ARM: kirkwood: move DT boards to SoC-centric clock init
SoC centric clock init for Kirkwood can be used by calling of_clk_init. Use it and get rid of mvebu_clocks_init. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood')
-rw-r--r--arch/arm/mach-kirkwood/Kconfig3
-rw-r--r--arch/arm/mach-kirkwood/board-dt.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-kirkwood/Kconfig b/arch/arm/mach-kirkwood/Kconfig
index 7509a89af967..79ee9f25760f 100644
--- a/arch/arm/mach-kirkwood/Kconfig
+++ b/arch/arm/mach-kirkwood/Kconfig
@@ -134,13 +134,12 @@ comment "Device tree entries"
134 134
135config ARCH_KIRKWOOD_DT 135config ARCH_KIRKWOOD_DT
136 bool "Marvell Kirkwood Flattened Device Tree" 136 bool "Marvell Kirkwood Flattened Device Tree"
137 select KIRKWOOD_CLK
137 select POWER_SUPPLY 138 select POWER_SUPPLY
138 select POWER_RESET 139 select POWER_RESET
139 select POWER_RESET_GPIO 140 select POWER_RESET_GPIO
140 select REGULATOR 141 select REGULATOR
141 select REGULATOR_FIXED_VOLTAGE 142 select REGULATOR_FIXED_VOLTAGE
142 select MVEBU_CLK_CORE
143 select MVEBU_CLK_GATING
144 select USE_OF 143 select USE_OF
145 help 144 help
146 Say 'Y' here if you want your kernel to support the 145 Say 'Y' here if you want your kernel to support the
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c
index e9647b80cb59..2f695e5b1ec7 100644
--- a/arch/arm/mach-kirkwood/board-dt.c
+++ b/arch/arm/mach-kirkwood/board-dt.c
@@ -15,7 +15,6 @@
15#include <linux/of.h> 15#include <linux/of.h>
16#include <linux/of_platform.h> 16#include <linux/of_platform.h>
17#include <linux/clk-provider.h> 17#include <linux/clk-provider.h>
18#include <linux/clk/mvebu.h>
19#include <linux/kexec.h> 18#include <linux/kexec.h>
20#include <asm/mach/arch.h> 19#include <asm/mach/arch.h>
21#include <asm/mach/map.h> 20#include <asm/mach/map.h>
@@ -77,7 +76,7 @@ static void __init kirkwood_legacy_clk_init(void)
77 76
78static void __init kirkwood_of_clk_init(void) 77static void __init kirkwood_of_clk_init(void)
79{ 78{
80 mvebu_clocks_init(); 79 of_clk_init(NULL);
81 kirkwood_legacy_clk_init(); 80 kirkwood_legacy_clk_init();
82} 81}
83 82