فهرست منبع

arch/csky: remove BR2_CSKY_DSP option

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>
Guo Ren 6 سال پیش
والد
کامیت
55c6422878
3فایلهای تغییر یافته به همراه7 افزوده شده و 8 حذف شده
  1. 7 0
      Config.in.legacy
  2. 0 4
      arch/Config.in.csky
  3. 0 4
      arch/arch.mk.csky

+ 7 - 0
Config.in.legacy

@@ -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

+ 0 - 4
arch/Config.in.csky

@@ -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"
 

+ 0 - 4
arch/arch.mk.csky

@@ -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