From c21d1a858e7fc9f273c23d7ae92bc6911f34a1e9 Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Thu, 14 Sep 2023 16:55:20 +0200 Subject: 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 --- extra/Configs/Config.kvx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'extra') 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 -- cgit v1.2.3