diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-03-01 03:39:38 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-03-03 23:13:48 -0500 |
commit | 00e8ec2f0b05bfc8acaf13cf91c2ca1e624f3535 (patch) | |
tree | a4d25fdc037d6996c3fa268994b4c0bdbb530969 /arch/arm/mach-dove | |
parent | 0d75ab68fd1a516f7a394fac6ba0f0ef34bbd18e (diff) |
ARM: mvebu: move DT Dove to MVEBU
With all the DT support preparation done, we are able to move Dove
to MVEBU easily. Legacy non-DT mach-dove is left untouched to rot
for a while before removal.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-dove')
-rw-r--r-- | arch/arm/mach-dove/Kconfig | 12 | ||||
-rw-r--r-- | arch/arm/mach-dove/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-dove/board-dt.c | 43 |
3 files changed, 0 insertions, 56 deletions
diff --git a/arch/arm/mach-dove/Kconfig b/arch/arm/mach-dove/Kconfig index 0bc7cdf8cf46..d8c439c89ea9 100644 --- a/arch/arm/mach-dove/Kconfig +++ b/arch/arm/mach-dove/Kconfig | |||
@@ -20,18 +20,6 @@ config MACH_CM_A510 | |||
20 | Say 'Y' here if you want your kernel to support the | 20 | Say 'Y' here if you want your kernel to support the |
21 | CompuLab CM-A510 Board. | 21 | CompuLab CM-A510 Board. |
22 | 22 | ||
23 | config MACH_DOVE_DT | ||
24 | bool "Marvell Dove Flattened Device Tree" | ||
25 | select DOVE_CLK | ||
26 | select ORION_IRQCHIP | ||
27 | select ORION_TIMER | ||
28 | select REGULATOR | ||
29 | select REGULATOR_FIXED_VOLTAGE | ||
30 | select USE_OF | ||
31 | help | ||
32 | Say 'Y' here if you want your kernel to support the | ||
33 | Marvell Dove using flattened device tree. | ||
34 | |||
35 | endmenu | 23 | endmenu |
36 | 24 | ||
37 | endif | 25 | endif |
diff --git a/arch/arm/mach-dove/Makefile b/arch/arm/mach-dove/Makefile index cbc5c0618788..b608a21919fb 100644 --- a/arch/arm/mach-dove/Makefile +++ b/arch/arm/mach-dove/Makefile | |||
@@ -2,5 +2,4 @@ obj-y += common.o | |||
2 | obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o | 2 | obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o |
3 | obj-$(CONFIG_PCI) += pcie.o | 3 | obj-$(CONFIG_PCI) += pcie.o |
4 | obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o | 4 | obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o |
5 | obj-$(CONFIG_MACH_DOVE_DT) += board-dt.o | ||
6 | obj-$(CONFIG_MACH_CM_A510) += cm-a510.o | 5 | obj-$(CONFIG_MACH_CM_A510) += cm-a510.o |
diff --git a/arch/arm/mach-dove/board-dt.c b/arch/arm/mach-dove/board-dt.c deleted file mode 100644 index 49fa9abd09da..000000000000 --- a/arch/arm/mach-dove/board-dt.c +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-dove/board-dt.c | ||
3 | * | ||
4 | * Marvell Dove 88AP510 System On Chip FDT Board | ||
5 | * | ||
6 | * This file is licensed under the terms of the GNU General Public | ||
7 | * License version 2. This program is licensed "as is" without any | ||
8 | * warranty of any kind, whether express or implied. | ||
9 | */ | ||
10 | |||
11 | #include <linux/init.h> | ||
12 | #include <linux/clk-provider.h> | ||
13 | #include <linux/of.h> | ||
14 | #include <linux/of_platform.h> | ||
15 | #include <asm/hardware/cache-tauros2.h> | ||
16 | #include <asm/mach/arch.h> | ||
17 | #include <mach/dove.h> | ||
18 | #include <mach/pm.h> | ||
19 | #include <plat/common.h> | ||
20 | #include "common.h" | ||
21 | |||
22 | static void __init dove_dt_init(void) | ||
23 | { | ||
24 | pr_info("Dove 88AP510 SoC\n"); | ||
25 | |||
26 | #ifdef CONFIG_CACHE_TAUROS2 | ||
27 | tauros2_init(0); | ||
28 | #endif | ||
29 | BUG_ON(mvebu_mbus_dt_init()); | ||
30 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | ||
31 | } | ||
32 | |||
33 | static const char * const dove_dt_board_compat[] = { | ||
34 | "marvell,dove", | ||
35 | NULL | ||
36 | }; | ||
37 | |||
38 | DT_MACHINE_START(DOVE_DT, "Marvell Dove (Flattened Device Tree)") | ||
39 | .map_io = dove_map_io, | ||
40 | .init_machine = dove_dt_init, | ||
41 | .restart = dove_restart, | ||
42 | .dt_compat = dove_dt_board_compat, | ||
43 | MACHINE_END | ||