summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-10-17 20:10:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-10-17 20:10:13 +0200
commit069acf1a02a8fe9f1ca19c693b3fcaab7e52cd94 (patch)
tree34f163d0803997b4eb182be31efa3a6068312c0a /target
parent857bd1c41b151badbb206e722ec32a673c2ac66e (diff)
csky: fine tune support
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.cpu23
-rw-r--r--target/csky/kernel/qemu-csky1
-rw-r--r--target/csky/systems/qemu-csky6
3 files changed, 28 insertions, 2 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 92ee3c86a..dd46bdbd3 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -480,8 +480,24 @@ config ADK_TARGET_CPU_CRIS_CRISV32
depends on ADK_TARGET_ARCH_CRIS
# c-sky
-config ADK_TARGET_CPU_CSKY_CK610
- bool "ck610"
+config ADK_TARGET_CPU_CSKY_CK610F
+ bool "ck610f"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_WITH_MMU
+ depends on ADK_TARGET_ARCH_CSKY
+
+config ADK_TARGET_CPU_CSKY_CK810F
+ bool "ck810f"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_WITH_MMU
+ depends on ADK_TARGET_ARCH_CSKY
+
+config ADK_TARGET_CPU_CSKY_CK807F
+ bool "ck807f"
select ADK_TARGET_SUPPORTS_THREADS
select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_SUPPORTS_NPTL
@@ -1949,6 +1965,9 @@ config ADK_TARGET_CPU_FLAGS
default "-mcpu=bf549m" if ADK_TARGET_CPU_BFIN_BF549M
default "-mcpu=bf561" if ADK_TARGET_CPU_BFIN_BF561
default "-mcpu=bf592" if ADK_TARGET_CPU_BFIN_BF592
+ default "-mcpu=ck610f" if ADK_TARGET_CPU_CSKY_CK610F
+ default "-mcpu=ck810f" if ADK_TARGET_CPU_CSKY_CK810F
+ default "-mcpu=ck807f" if ADK_TARGET_CPU_CSKY_CK807F
default "-mcpu=v10" if ADK_TARGET_CPU_CRIS_CRISV10
default "-mcpu=v32" if ADK_TARGET_CPU_CRIS_CRISV32
default "-mh" if ADK_TARGET_CPU_H8300H
diff --git a/target/csky/kernel/qemu-csky b/target/csky/kernel/qemu-csky
new file mode 100644
index 000000000..f126bb9df
--- /dev/null
+++ b/target/csky/kernel/qemu-csky
@@ -0,0 +1 @@
+CONFIG_CSKY=y
diff --git a/target/csky/systems/qemu-csky b/target/csky/systems/qemu-csky
new file mode 100644
index 000000000..2ee092c6d
--- /dev/null
+++ b/target/csky/systems/qemu-csky
@@ -0,0 +1,6 @@
+config ADK_TARGET_SYSTEM_QEMU_CSKY
+ bool "Qemu Emulator"
+ select ADK_TARGET_QEMU
+ help
+ Qemu Emulator for C-SKY architecture.
+