diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-02-20 08:42:18 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-06-19 08:39:26 -0400 |
commit | fd1557923b2e45a7ff4664bd88311d8239d69ca9 (patch) | |
tree | 54d973bebc5d94105e6f85b57ba52cdbb92abe97 | |
parent | 6623146cb71eb0eb582943bb35f85a90b6195fc1 (diff) |
ARC: [plat_arcfpga]->[plat_sim]
* Remove remanants of legacy ARC FPGA platforms (AA4, ML509...)
* Only nsim simulation platform is left, rename platform accordingly
* AA4 DT stuff is compatible with nsim for ARC700 so rename it too
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r-- | arch/arc/Kconfig | 2 | ||||
-rw-r--r-- | arch/arc/Makefile | 4 | ||||
-rw-r--r-- | arch/arc/boot/dts/Makefile | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/nsim_700.dts (renamed from arch/arc/boot/dts/angel4.dts) | 2 | ||||
-rw-r--r-- | arch/arc/configs/nsim_700_defconfig | 4 | ||||
-rw-r--r-- | arch/arc/configs/nsimosci_defconfig | 2 | ||||
-rw-r--r-- | arch/arc/plat-sim/Kconfig (renamed from arch/arc/plat-arcfpga/Kconfig) | 10 | ||||
-rw-r--r-- | arch/arc/plat-sim/Makefile (renamed from arch/arc/plat-arcfpga/Makefile) | 0 | ||||
-rw-r--r-- | arch/arc/plat-sim/platform.c (renamed from arch/arc/plat-arcfpga/platform.c) | 12 |
9 files changed, 13 insertions, 25 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 8e8de4c3442e..824065a94b37 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig | |||
@@ -81,7 +81,7 @@ menu "ARC Architecture Configuration" | |||
81 | 81 | ||
82 | menu "ARC Platform/SoC/Board" | 82 | menu "ARC Platform/SoC/Board" |
83 | 83 | ||
84 | source "arch/arc/plat-arcfpga/Kconfig" | 84 | source "arch/arc/plat-sim/Kconfig" |
85 | source "arch/arc/plat-tb10x/Kconfig" | 85 | source "arch/arc/plat-tb10x/Kconfig" |
86 | #New platform adds here | 86 | #New platform adds here |
87 | 87 | ||
diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 87e0e5b36ce1..435b693637f6 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile | |||
@@ -81,8 +81,8 @@ core-y += arch/arc/ | |||
81 | # w/o this dtb won't embed into kernel binary | 81 | # w/o this dtb won't embed into kernel binary |
82 | core-y += arch/arc/boot/dts/ | 82 | core-y += arch/arc/boot/dts/ |
83 | 83 | ||
84 | core-$(CONFIG_ARC_PLAT_FPGA_LEGACY) += arch/arc/plat-arcfpga/ | 84 | core-$(CONFIG_ARC_PLAT_SIM) += arch/arc/plat-sim/ |
85 | core-$(CONFIG_ARC_PLAT_TB10X) += arch/arc/plat-tb10x/ | 85 | core-$(CONFIG_ARC_PLAT_TB10X) += arch/arc/plat-tb10x/ |
86 | 86 | ||
87 | drivers-$(CONFIG_OPROFILE) += arch/arc/oprofile/ | 87 | drivers-$(CONFIG_OPROFILE) += arch/arc/oprofile/ |
88 | 88 | ||
diff --git a/arch/arc/boot/dts/Makefile b/arch/arc/boot/dts/Makefile index faf240e29ec2..b0e3f19bbd07 100644 --- a/arch/arc/boot/dts/Makefile +++ b/arch/arc/boot/dts/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # Built-in dtb | 1 | # Built-in dtb |
2 | builtindtb-y := angel4 | 2 | builtindtb-y := nsim_700 |
3 | 3 | ||
4 | ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"") | 4 | ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"") |
5 | builtindtb-y := $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME)) | 5 | builtindtb-y := $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME)) |
diff --git a/arch/arc/boot/dts/angel4.dts b/arch/arc/boot/dts/nsim_700.dts index 3b076fbd8366..105a0017023f 100644 --- a/arch/arc/boot/dts/angel4.dts +++ b/arch/arc/boot/dts/nsim_700.dts | |||
@@ -10,7 +10,7 @@ | |||
10 | /include/ "skeleton.dtsi" | 10 | /include/ "skeleton.dtsi" |
11 | 11 | ||
12 | / { | 12 | / { |
13 | compatible = "snps,arc-angel4"; | 13 | compatible = "snps,nsim"; |
14 | clock-frequency = <80000000>; /* 80 MHZ */ | 14 | clock-frequency = <80000000>; /* 80 MHZ */ |
15 | #address-cells = <1>; | 15 | #address-cells = <1>; |
16 | #size-cells = <1>; | 16 | #size-cells = <1>; |
diff --git a/arch/arc/configs/nsim_700_defconfig b/arch/arc/configs/nsim_700_defconfig index e6aa1ed09c6d..138f9d887957 100644 --- a/arch/arc/configs/nsim_700_defconfig +++ b/arch/arc/configs/nsim_700_defconfig | |||
@@ -22,8 +22,8 @@ CONFIG_MODULES=y | |||
22 | # CONFIG_BLK_DEV_BSG is not set | 22 | # CONFIG_BLK_DEV_BSG is not set |
23 | # CONFIG_IOSCHED_DEADLINE is not set | 23 | # CONFIG_IOSCHED_DEADLINE is not set |
24 | # CONFIG_IOSCHED_CFQ is not set | 24 | # CONFIG_IOSCHED_CFQ is not set |
25 | CONFIG_ARC_PLAT_FPGA_LEGACY=y | 25 | CONFIG_ARC_PLAT_SIM=y |
26 | CONFIG_ARC_BUILTIN_DTB_NAME="angel4" | 26 | CONFIG_ARC_BUILTIN_DTB_NAME="nsim_700" |
27 | CONFIG_PREEMPT=y | 27 | CONFIG_PREEMPT=y |
28 | # CONFIG_COMPACTION is not set | 28 | # CONFIG_COMPACTION is not set |
29 | # CONFIG_CROSS_MEMORY_ATTACH is not set | 29 | # CONFIG_CROSS_MEMORY_ATTACH is not set |
diff --git a/arch/arc/configs/nsimosci_defconfig b/arch/arc/configs/nsimosci_defconfig index 1aad2365bef8..31e1d95764ff 100644 --- a/arch/arc/configs/nsimosci_defconfig +++ b/arch/arc/configs/nsimosci_defconfig | |||
@@ -23,7 +23,7 @@ CONFIG_MODULES=y | |||
23 | # CONFIG_BLK_DEV_BSG is not set | 23 | # CONFIG_BLK_DEV_BSG is not set |
24 | # CONFIG_IOSCHED_DEADLINE is not set | 24 | # CONFIG_IOSCHED_DEADLINE is not set |
25 | # CONFIG_IOSCHED_CFQ is not set | 25 | # CONFIG_IOSCHED_CFQ is not set |
26 | CONFIG_ARC_PLAT_FPGA_LEGACY=y | 26 | CONFIG_ARC_PLAT_SIM=y |
27 | CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci" | 27 | CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci" |
28 | # CONFIG_COMPACTION is not set | 28 | # CONFIG_COMPACTION is not set |
29 | CONFIG_NET=y | 29 | CONFIG_NET=y |
diff --git a/arch/arc/plat-arcfpga/Kconfig b/arch/arc/plat-sim/Kconfig index 043bac36f34f..18e39fcc488a 100644 --- a/arch/arc/plat-arcfpga/Kconfig +++ b/arch/arc/plat-sim/Kconfig | |||
@@ -6,11 +6,9 @@ | |||
6 | # published by the Free Software Foundation. | 6 | # published by the Free Software Foundation. |
7 | # | 7 | # |
8 | 8 | ||
9 | menuconfig ARC_PLAT_FPGA_LEGACY | 9 | menuconfig ARC_PLAT_SIM |
10 | bool "\"Legacy\" ARC FPGA dev Boards" | 10 | bool "ARC nSIM based simulation virtual platforms" |
11 | select ARC_HAS_COH_CACHES if SMP | 11 | select ARC_HAS_COH_CACHES if SMP |
12 | help | 12 | help |
13 | Support for ARC development boards, provided by Synopsys. | 13 | Support for nSIM based ARC simulation platforms |
14 | These are based on FPGA or ISS. e.g. | 14 | This includes the standalone nSIM (uart only) vs. System C OSCI VP |
15 | - ARCAngel4 | ||
16 | - ML509 | ||
diff --git a/arch/arc/plat-arcfpga/Makefile b/arch/arc/plat-sim/Makefile index 00b1a958cec7..00b1a958cec7 100644 --- a/arch/arc/plat-arcfpga/Makefile +++ b/arch/arc/plat-sim/Makefile | |||
diff --git a/arch/arc/plat-arcfpga/platform.c b/arch/arc/plat-sim/platform.c index c79a05c47ebd..114fdc30941c 100644 --- a/arch/arc/plat-arcfpga/platform.c +++ b/arch/arc/plat-sim/platform.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * ARC FPGA Platform support code | 2 | * ARC simulation Platform support code |
3 | * | 3 | * |
4 | * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) | 4 | * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) |
5 | * | 5 | * |
@@ -19,16 +19,6 @@ | |||
19 | * callback set, by matching the DT compatible name. | 19 | * callback set, by matching the DT compatible name. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | static const char *legacy_fpga_compat[] __initconst = { | ||
23 | "snps,arc-angel4", | ||
24 | "snps,arc-ml509", | ||
25 | NULL, | ||
26 | }; | ||
27 | |||
28 | MACHINE_START(LEGACY_FPGA, "legacy_fpga") | ||
29 | .dt_compat = legacy_fpga_compat, | ||
30 | MACHINE_END | ||
31 | |||
32 | static const char *simulation_compat[] __initconst = { | 22 | static const char *simulation_compat[] __initconst = { |
33 | "snps,nsim", | 23 | "snps,nsim", |
34 | "snps,nsimosci", | 24 | "snps,nsimosci", |