aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/Kconfig
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2020-06-04 20:39:24 +0300
committerVineet Gupta <vgupta@synopsys.com>2020-06-16 15:07:23 -0700
commit0bdd6e7428a2e8971d7c9b8e212056dd0e0001c9 (patch)
treeadee442762555c9ed478424427ca489a553f2507 /arch/arc/Kconfig
parentARCv2: boot log: detect newer/upconing HS3x/HS4x releases (diff)
downloadlinux-dev-0bdd6e7428a2e8971d7c9b8e212056dd0e0001c9.tar.xz
linux-dev-0bdd6e7428a2e8971d7c9b8e212056dd0e0001c9.zip
ARC: build: allow users to specify -mcpu
kernel build system used to add -mcpu for each ARC ISA as default. These days there are versions and varaints of ARC HS cores some of which have specific -mcpu options to fine tune / optimize generated code. So allow users/external build systems to specify their own -mcpu This will be used in future patches for HSDK-4xD board support which uses specific -mcpu to utilize dual issue scheduling of the core. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com> [abrodkin/vgupta: rewrote changelog]
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r--arch/arc/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index fddc70029727..323014149e48 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -170,6 +170,15 @@ config ARC_CPU_HS
endchoice
+config ARC_TUNE_MCPU
+ string "Override default -mcpu compiler flag"
+ default ""
+ help
+ Override default -mcpu=xxx compiler flag (which is set depending on
+ the ISA version) with the specified value.
+ NOTE: If specified flag isn't supported by current compiler the
+ ISA default value will be used as a fallback.
+
config CPU_BIG_ENDIAN
bool "Enable Big Endian Mode"
help