summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.kvx
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2023-09-14 16:55:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-09-14 17:25:00 +0200
commitc21d1a858e7fc9f273c23d7ae92bc6911f34a1e9 (patch)
tree06835b46f31747fa7922572858fc3c4d0999e8d9 /extra/Configs/Config.kvx
parentf61a240363a173982809f1448450a77207286e3c (diff)
kvx: add support for kv3-2 (Coolidge v2 SoC)
The only difference, with regard to libc, is the compile flag: -march= Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'extra/Configs/Config.kvx')
-rw-r--r--extra/Configs/Config.kvx18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/Configs/Config.kvx b/extra/Configs/Config.kvx
index 398ffceaa..04df53c38 100644
--- a/extra/Configs/Config.kvx
+++ b/extra/Configs/Config.kvx
@@ -7,6 +7,24 @@ config TARGET_ARCH
string
default "kvx"
+choice
+ prompt "Target architecture variant"
+ help
+ Select CPU variant to use
+
+config CONFIG_KVX_COOLIDGE_V1
+ bool "Coolidge V1"
+
+config CONFIG_KVX_COOLIDGE_V2
+ bool "Coolidge V2"
+
+endchoice
+
+config TARGET_MARCH
+ string
+ default "kv3-1" if CONFIG_KVX_COOLIDGE_V1
+ default "kv3-2" if CONFIG_KVX_COOLIDGE_V2
+
config FORCE_OPTIONS_FOR_ARCH
bool
default y