From: Guo Ren <ren_guo@xxxxxxxxx> DSP extention is no longer used for C-SKY gcc and use VDSP instead of DSP. VDSP is C-SKY enhanced extension instruction set for SIMD, AI and DSP operation. It could be supported by abiv2 (ck807, ck810, ck860). Signed-off-by: Guo Ren <ren_guo@xxxxxxxxx> Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx> --- arch/Config.in.csky | 6 +++--- arch/arch.mk.csky | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/Config.in.csky b/arch/Config.in.csky index 6d87681..3817a2d 100644 --- a/arch/Config.in.csky +++ b/arch/Config.in.csky @@ -23,9 +23,9 @@ 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_CSKY_VDSP + bool "Enable VDSP enhanced instructions Co-processor" + depends on BR2_CSKY_FPU config BR2_ARCH default "csky" diff --git a/arch/arch.mk.csky b/arch/arch.mk.csky index a39fbd4..f2c90eb 100644 --- a/arch/arch.mk.csky +++ b/arch/arch.mk.csky @@ -13,12 +13,12 @@ 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 +ifeq ($(BR2_CSKY_VDSP),y) +GCC_TARGET_CPU := $(GCC_TARGET_CPU)v +endif + endif -- 2.7.4