Skip to content

Commit 41e0254

Browse files
khilmangregkh
authored andcommitted
ARC: change defconfig defaults to ARCv2
commit b7cc40c upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent b0234f1 commit 41e0254

7 files changed

Lines changed: 7 additions & 2 deletions

File tree

arch/arc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ endmenu
111111

112112
choice
113113
prompt "ARC Instruction Set"
114-
default ISA_ARCOMPACT
114+
default ISA_ARCV2
115115

116116
config ISA_ARCOMPACT
117117
bool "ARCompact ISA"

arch/arc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# published by the Free Software Foundation.
77
#
88

9-
KBUILD_DEFCONFIG := nsim_700_defconfig
9+
KBUILD_DEFCONFIG := nsim_hs_defconfig
1010

1111
cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__
1212
cflags-$(CONFIG_ISA_ARCOMPACT) += -mA7

arch/arc/configs/axs101_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_PERF_EVENTS=y
1414
# CONFIG_VM_EVENT_COUNTERS is not set
1515
# CONFIG_SLUB_DEBUG is not set
1616
# CONFIG_COMPAT_BRK is not set
17+
CONFIG_ISA_ARCOMPACT=y
1718
CONFIG_MODULES=y
1819
CONFIG_MODULE_FORCE_LOAD=y
1920
CONFIG_MODULE_UNLOAD=y

arch/arc/configs/nps_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CONFIG_SYSCTL_SYSCALL=y
1515
CONFIG_EMBEDDED=y
1616
CONFIG_PERF_EVENTS=y
1717
# CONFIG_COMPAT_BRK is not set
18+
CONFIG_ISA_ARCOMPACT=y
1819
CONFIG_KPROBES=y
1920
CONFIG_MODULES=y
2021
CONFIG_MODULE_FORCE_LOAD=y

arch/arc/configs/nsim_700_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CONFIG_EMBEDDED=y
1515
CONFIG_PERF_EVENTS=y
1616
# CONFIG_SLUB_DEBUG is not set
1717
# CONFIG_COMPAT_BRK is not set
18+
CONFIG_ISA_ARCOMPACT=y
1819
CONFIG_KPROBES=y
1920
CONFIG_MODULES=y
2021
# CONFIG_LBDAF is not set

arch/arc/configs/nsimosci_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CONFIG_EMBEDDED=y
1515
CONFIG_PERF_EVENTS=y
1616
# CONFIG_SLUB_DEBUG is not set
1717
# CONFIG_COMPAT_BRK is not set
18+
CONFIG_ISA_ARCOMPACT=y
1819
CONFIG_KPROBES=y
1920
CONFIG_MODULES=y
2021
# CONFIG_LBDAF is not set

arch/arc/configs/tb10x_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ CONFIG_KALLSYMS_ALL=y
1919
# CONFIG_AIO is not set
2020
CONFIG_EMBEDDED=y
2121
# CONFIG_COMPAT_BRK is not set
22+
CONFIG_ISA_ARCOMPACT=y
2223
CONFIG_SLAB=y
2324
CONFIG_MODULES=y
2425
CONFIG_MODULE_FORCE_LOAD=y

0 commit comments

Comments
 (0)