summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2018-11-30 07:51:56 -0500
committerVineet Gupta <vgupta@synopsys.com>2018-11-30 13:54:01 -0500
commitb7cc40c32a8bfa6f2581a71747f6a7d491fe43ba (patch)
tree341b7d829a8449e998ab320c9eeddabb2b836377
parent6b04114f6fae5e84d33404c2970b1949c032546e (diff)
ARC: change defconfig defaults to ARCv2
Change the default defconfig (used with 'make defconfig') to the ARCv2 nsim_hs_defconfig, and also switch the default Kconfig ISA selection to ARCv2. This allows several default defconfigs (e.g. make defconfig, make allnoconfig, make tinyconfig) to all work with ARCv2 by default. Note since we change default architecture from ARCompact to ARCv2 it's required to explicitly mention architecture type in ARCompact defconfigs otherwise ARCv2 will be implied and binaries will be generated for ARCv2. Cc: <stable@vger.kernel.org> # 4.4.x Signed-off-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r--arch/arc/Kconfig2
-rw-r--r--arch/arc/Makefile2
-rw-r--r--arch/arc/configs/axs101_defconfig1
-rw-r--r--arch/arc/configs/nps_defconfig1
-rw-r--r--arch/arc/configs/nsim_700_defconfig1
-rw-r--r--arch/arc/configs/nsimosci_defconfig1
-rw-r--r--arch/arc/configs/tb10x_defconfig1
7 files changed, 7 insertions, 2 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 5fcbda6b37cc..6dd783557330 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -109,7 +109,7 @@ endmenu
109 109
110choice 110choice
111 prompt "ARC Instruction Set" 111 prompt "ARC Instruction Set"
112 default ISA_ARCOMPACT 112 default ISA_ARCV2
113 113
114config ISA_ARCOMPACT 114config ISA_ARCOMPACT
115 bool "ARCompact ISA" 115 bool "ARCompact ISA"
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index c64c505d966c..df00578c279d 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -6,7 +6,7 @@
6# published by the Free Software Foundation. 6# published by the Free Software Foundation.
7# 7#
8 8
9KBUILD_DEFCONFIG := nsim_700_defconfig 9KBUILD_DEFCONFIG := nsim_hs_defconfig
10 10
11cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__ 11cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__
12cflags-$(CONFIG_ISA_ARCOMPACT) += -mA7 12cflags-$(CONFIG_ISA_ARCOMPACT) += -mA7
diff --git a/arch/arc/configs/axs101_defconfig b/arch/arc/configs/axs101_defconfig
index 8c23bd086cd0..020d4493edfd 100644
--- a/arch/arc/configs/axs101_defconfig
+++ b/arch/arc/configs/axs101_defconfig
@@ -14,6 +14,7 @@ CONFIG_PERF_EVENTS=y
14# CONFIG_VM_EVENT_COUNTERS is not set 14# CONFIG_VM_EVENT_COUNTERS is not set
15# CONFIG_SLUB_DEBUG is not set 15# CONFIG_SLUB_DEBUG is not set
16# CONFIG_COMPAT_BRK is not set 16# CONFIG_COMPAT_BRK is not set
17CONFIG_ISA_ARCOMPACT=y
17CONFIG_MODULES=y 18CONFIG_MODULES=y
18CONFIG_MODULE_FORCE_LOAD=y 19CONFIG_MODULE_FORCE_LOAD=y
19CONFIG_MODULE_UNLOAD=y 20CONFIG_MODULE_UNLOAD=y
diff --git a/arch/arc/configs/nps_defconfig b/arch/arc/configs/nps_defconfig
index ae7a0d8be98d..6e84060e7c90 100644
--- a/arch/arc/configs/nps_defconfig
+++ b/arch/arc/configs/nps_defconfig
@@ -15,6 +15,7 @@ CONFIG_SYSCTL_SYSCALL=y
15CONFIG_EMBEDDED=y 15CONFIG_EMBEDDED=y
16CONFIG_PERF_EVENTS=y 16CONFIG_PERF_EVENTS=y
17# CONFIG_COMPAT_BRK is not set 17# CONFIG_COMPAT_BRK is not set
18CONFIG_ISA_ARCOMPACT=y
18CONFIG_KPROBES=y 19CONFIG_KPROBES=y
19CONFIG_MODULES=y 20CONFIG_MODULES=y
20CONFIG_MODULE_FORCE_LOAD=y 21CONFIG_MODULE_FORCE_LOAD=y
diff --git a/arch/arc/configs/nsim_700_defconfig b/arch/arc/configs/nsim_700_defconfig
index 8e0b8b134cd9..219c2a65294b 100644
--- a/arch/arc/configs/nsim_700_defconfig
+++ b/arch/arc/configs/nsim_700_defconfig
@@ -15,6 +15,7 @@ CONFIG_EMBEDDED=y
15CONFIG_PERF_EVENTS=y 15CONFIG_PERF_EVENTS=y
16# CONFIG_SLUB_DEBUG is not set 16# CONFIG_SLUB_DEBUG is not set
17# CONFIG_COMPAT_BRK is not set 17# CONFIG_COMPAT_BRK is not set
18CONFIG_ISA_ARCOMPACT=y
18CONFIG_KPROBES=y 19CONFIG_KPROBES=y
19CONFIG_MODULES=y 20CONFIG_MODULES=y
20# CONFIG_LBDAF is not set 21# CONFIG_LBDAF is not set
diff --git a/arch/arc/configs/nsimosci_defconfig b/arch/arc/configs/nsimosci_defconfig
index ad77f20e5aa6..35dfc6491a09 100644
--- a/arch/arc/configs/nsimosci_defconfig
+++ b/arch/arc/configs/nsimosci_defconfig
@@ -15,6 +15,7 @@ CONFIG_EMBEDDED=y
15CONFIG_PERF_EVENTS=y 15CONFIG_PERF_EVENTS=y
16# CONFIG_SLUB_DEBUG is not set 16# CONFIG_SLUB_DEBUG is not set
17# CONFIG_COMPAT_BRK is not set 17# CONFIG_COMPAT_BRK is not set
18CONFIG_ISA_ARCOMPACT=y
18CONFIG_KPROBES=y 19CONFIG_KPROBES=y
19CONFIG_MODULES=y 20CONFIG_MODULES=y
20# CONFIG_LBDAF is not set 21# CONFIG_LBDAF is not set
diff --git a/arch/arc/configs/tb10x_defconfig b/arch/arc/configs/tb10x_defconfig
index a7f65313f84a..e71ade3cf9c8 100644
--- a/arch/arc/configs/tb10x_defconfig
+++ b/arch/arc/configs/tb10x_defconfig
@@ -19,6 +19,7 @@ CONFIG_KALLSYMS_ALL=y
19# CONFIG_AIO is not set 19# CONFIG_AIO is not set
20CONFIG_EMBEDDED=y 20CONFIG_EMBEDDED=y
21# CONFIG_COMPAT_BRK is not set 21# CONFIG_COMPAT_BRK is not set
22CONFIG_ISA_ARCOMPACT=y
22CONFIG_SLAB=y 23CONFIG_SLAB=y
23CONFIG_MODULES=y 24CONFIG_MODULES=y
24CONFIG_MODULE_FORCE_LOAD=y 25CONFIG_MODULE_FORCE_LOAD=y