diff options
-rw-r--r-- | arch/arm/Kconfig | 8 | ||||
-rw-r--r-- | arch/arm/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-virt/Kconfig | 6 | ||||
-rw-r--r-- | arch/arm/mach-virt/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/mach-virt/virt.c | 41 |
5 files changed, 6 insertions, 55 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f350ca5d051b..9790c5d9abd9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -929,6 +929,12 @@ config ARCH_MULTI_CPU_AUTO | |||
929 | 929 | ||
930 | endmenu | 930 | endmenu |
931 | 931 | ||
932 | config ARCH_VIRT | ||
933 | bool "Dummy Virtual Machine" if ARCH_MULTI_V7 | ||
934 | select ARM_GIC | ||
935 | select HAVE_ARM_ARCH_TIMER | ||
936 | select ARM_PSCI | ||
937 | |||
932 | # | 938 | # |
933 | # This is sorted alphabetically by mach-* pathname. However, plat-* | 939 | # This is sorted alphabetically by mach-* pathname. However, plat-* |
934 | # Kconfigs may be included either alphabetically (according to the | 940 | # Kconfigs may be included either alphabetically (according to the |
@@ -1052,8 +1058,6 @@ source "arch/arm/mach-versatile/Kconfig" | |||
1052 | source "arch/arm/mach-vexpress/Kconfig" | 1058 | source "arch/arm/mach-vexpress/Kconfig" |
1053 | source "arch/arm/plat-versatile/Kconfig" | 1059 | source "arch/arm/plat-versatile/Kconfig" |
1054 | 1060 | ||
1055 | source "arch/arm/mach-virt/Kconfig" | ||
1056 | |||
1057 | source "arch/arm/mach-vt8500/Kconfig" | 1061 | source "arch/arm/mach-vt8500/Kconfig" |
1058 | 1062 | ||
1059 | source "arch/arm/mach-w90x900/Kconfig" | 1063 | source "arch/arm/mach-w90x900/Kconfig" |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 08a9ef58d9c3..a3c06ddbe3e4 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -199,7 +199,6 @@ machine-$(CONFIG_ARCH_U300) += u300 | |||
199 | machine-$(CONFIG_ARCH_U8500) += ux500 | 199 | machine-$(CONFIG_ARCH_U8500) += ux500 |
200 | machine-$(CONFIG_ARCH_VERSATILE) += versatile | 200 | machine-$(CONFIG_ARCH_VERSATILE) += versatile |
201 | machine-$(CONFIG_ARCH_VEXPRESS) += vexpress | 201 | machine-$(CONFIG_ARCH_VEXPRESS) += vexpress |
202 | machine-$(CONFIG_ARCH_VIRT) += virt | ||
203 | machine-$(CONFIG_ARCH_VT8500) += vt8500 | 202 | machine-$(CONFIG_ARCH_VT8500) += vt8500 |
204 | machine-$(CONFIG_ARCH_W90X900) += w90x900 | 203 | machine-$(CONFIG_ARCH_W90X900) += w90x900 |
205 | machine-$(CONFIG_ARCH_ZYNQ) += zynq | 204 | machine-$(CONFIG_ARCH_ZYNQ) += zynq |
diff --git a/arch/arm/mach-virt/Kconfig b/arch/arm/mach-virt/Kconfig deleted file mode 100644 index eaad072c725b..000000000000 --- a/arch/arm/mach-virt/Kconfig +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | config ARCH_VIRT | ||
2 | bool "Dummy Virtual Machine" if ARCH_MULTI_V7 | ||
3 | select ARM_GIC | ||
4 | select HAVE_ARM_ARCH_TIMER | ||
5 | select ARM_PSCI | ||
6 | select HAVE_SMP | ||
diff --git a/arch/arm/mach-virt/Makefile b/arch/arm/mach-virt/Makefile deleted file mode 100644 index 7ddbfa60227f..000000000000 --- a/arch/arm/mach-virt/Makefile +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for the linux kernel. | ||
3 | # | ||
4 | |||
5 | obj-y := virt.o | ||
diff --git a/arch/arm/mach-virt/virt.c b/arch/arm/mach-virt/virt.c deleted file mode 100644 index b184e57d1854..000000000000 --- a/arch/arm/mach-virt/virt.c +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | /* | ||
2 | * Dummy Virtual Machine - does what it says on the tin. | ||
3 | * | ||
4 | * Copyright (C) 2012 ARM Ltd | ||
5 | * Authors: Will Deacon <will.deacon@arm.com>, | ||
6 | * Marc Zyngier <marc.zyngier@arm.com> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | ||
20 | |||
21 | #include <linux/of_irq.h> | ||
22 | #include <linux/of_platform.h> | ||
23 | #include <linux/smp.h> | ||
24 | |||
25 | #include <asm/mach/arch.h> | ||
26 | |||
27 | static void __init virt_init(void) | ||
28 | { | ||
29 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | ||
30 | } | ||
31 | |||
32 | static const char *virt_dt_match[] = { | ||
33 | "linux,dummy-virt", | ||
34 | "xen,xenvm", | ||
35 | NULL | ||
36 | }; | ||
37 | |||
38 | DT_MACHINE_START(VIRT, "Dummy Virtual Machine") | ||
39 | .init_machine = virt_init, | ||
40 | .dt_compat = virt_dt_match, | ||
41 | MACHINE_END | ||