aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGravatar Guo Ren <ren_guo@c-sky.com>2019-05-31 14:39:00 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-05-31 22:59:57 +0200
commit20d6e092d8be6b08c2a010c4c7354d8932079aa9 (patch)
tree14586098e535db1260fed27c9bd14985eaf8df87 /arch
parenta9b722732d5fcb2fc3f16c09bf869112b3f64fbf (diff)
downloadbuildroot-20d6e092d8be6b08c2a010c4c7354d8932079aa9.tar.gz
buildroot-20d6e092d8be6b08c2a010c4c7354d8932079aa9.tar.bz2
arch/csky: add support for the ck860 core
ck860 is newest CPU core of C-SKY with high performance & SMP supported. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in.csky5
-rw-r--r--arch/arch.mk.csky2
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/Config.in.csky b/arch/Config.in.csky
index ebde7fe476..4bdfbfae4b 100644
--- a/arch/Config.in.csky
+++ b/arch/Config.in.csky
@@ -13,11 +13,14 @@ config BR2_ck807
config BR2_ck810
bool "ck810"
+config BR2_ck860
+ bool "ck860"
+
endchoice
config BR2_CSKY_FPU
bool "Enable FPU coprocessor"
- depends on BR2_ck810 || BR2_ck807
+ depends on BR2_ck810 || BR2_ck807 || BR2_ck860
help
You can say N here if your C-SKY CPU doesn't have a
Floating-Point Coprocessor or if you don't need FPU support
diff --git a/arch/arch.mk.csky b/arch/arch.mk.csky
index f2c90eb206..fb59ae22fd 100644
--- a/arch/arch.mk.csky
+++ b/arch/arch.mk.csky
@@ -11,6 +11,8 @@ else ifeq ($(BR2_ck807),y)
GCC_TARGET_CPU := ck807
else ifeq ($(BR2_ck810),y)
GCC_TARGET_CPU := ck810
+else ifeq ($(BR2_ck860),y)
+GCC_TARGET_CPU := ck860
endif
ifeq ($(BR2_CSKY_FPU),y)