arch/csky: remove BR2_CSKY_DSP option
authorGuo Ren <ren_guo@c-sky.com>
Fri, 31 May 2019 06:38:59 +0000 (14:38 +0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 31 May 2019 20:59:57 +0000 (22:59 +0200)
The DSP extention is in fact no longer used for C-SKY, nor supported
by C-SKY gcc, so we remove it.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas: split from the VDSP patch, add Config.in.legacy]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Config.in.legacy
arch/Config.in.csky
arch/arch.mk.csky

index a32cbcb6f2b49d80bac7c605a0ab1af7f7da14ca..2cf00a0aac415a5391df9048b0d795c4090fb5a9 100644 (file)
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2019.05"
 
+config BR2_CSKY_DSP
+       bool "C-SKY DSP support removed"
+       select BR2_LEGACY
+       help
+        C-SKY DSP instruction support for ck810 / ck807 was removed,
+        as it was no longer supported in C-SKY gcc.
+
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COMPOSITOR
        bool "compositor moved to gst1-plugins-base"
        select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR
index a9d6548d8ee9a99c3fc2aa0b87ea0ed99d1db0d8..9c893da5f8d03dd4b777a87dd5158a5e74f77569 100644 (file)
@@ -23,10 +23,6 @@ config BR2_CSKY_FPU
          Floating-Point Coprocessor or if you don't need FPU support
          for your user-space programs.
 
-config BR2_CSKY_DSP
-       bool "Enable DSP enhanced instructions"
-       depends on BR2_ck810 || BR2_ck807
-
 config BR2_ARCH
        default "csky"
 
index a39fbd43c2a7a2c73c0306c921b8365bdd2d9c79..677c3223edccb59bb7f3f0787ca27735491c9053 100644 (file)
@@ -13,10 +13,6 @@ else ifeq ($(BR2_ck810),y)
 GCC_TARGET_CPU := ck810
 endif
 
-ifeq ($(BR2_CSKY_DSP),y)
-GCC_TARGET_CPU := $(GCC_TARGET_CPU)e
-endif
-
 ifeq ($(BR2_CSKY_FPU),y)
 GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
 endif