From b6d99e88ce18dadd54cda33625e3425b09186c8c Mon Sep 17 00:00:00 2001 From: Roger Monk Date: Sat, 20 Mar 2010 22:02:10 +0000 Subject: [PATCH] ti-dsplink: Remove old patches and old untested recipe * Remove ti-dsplink v.1.61.3 - no longer tested * Remove old patches for older development dsplink versions * Patches have now been rolled into dsplink 1.64 * Remove old Makefiles which we no longer need * Remove old v.1.50 128M patch - we now use 'MEMHOLE' for this (if necessary) Signed-off-by: Roger Monk Signed-off-by: Koen Kooi --- recipes/ti/ti-dsplink/Makefile-dsplink-dsp | 59 ---------- recipes/ti/ti-dsplink/Makefile-dsplink-gpp | 120 --------------------- recipes/ti/ti-dsplink/dsplink-128M.patch | 104 ------------------ .../dsplink-add-class-device-create-support.patch | 55 ---------- recipes/ti/ti-dsplink/dsplink-semaphore-27.patch | 36 ------- recipes/ti/ti-dsplink_1.61.3.bb | 9 -- 6 files changed, 383 deletions(-) delete mode 100644 recipes/ti/ti-dsplink/Makefile-dsplink-dsp delete mode 100644 recipes/ti/ti-dsplink/Makefile-dsplink-gpp delete mode 100644 recipes/ti/ti-dsplink/dsplink-128M.patch delete mode 100644 recipes/ti/ti-dsplink/dsplink-add-class-device-create-support.patch delete mode 100644 recipes/ti/ti-dsplink/dsplink-semaphore-27.patch delete mode 100644 recipes/ti/ti-dsplink_1.61.3.bb diff --git a/recipes/ti/ti-dsplink/Makefile-dsplink-dsp b/recipes/ti/ti-dsplink/Makefile-dsplink-dsp deleted file mode 100644 index 0861f1ee21..0000000000 --- a/recipes/ti/ti-dsplink/Makefile-dsplink-dsp +++ /dev/null @@ -1,59 +0,0 @@ -# -# ======== makeunix ======== -# - -# Import Tools Path from Rules.make -#include Rules.make - -PROJECT_BASE_DIR = $(shell pwd) -LINUXKERNEL_INSTALL_DIR:=some-path/kernel -LINK_INSTALL_DIR := some-path/dsplink_1_51/dsplink - -# The prefix to be added before the GNU compiler tools (optionally including -# path), i.e. "arm_v5t_le-" or "/opt/bin/arm_v5t_le-". -GPPTOOL_DIR:=some-path/cross - -# ---- DSP tools ---- -DSP_BASE_CGTOOLS := some-path/cg6x_6_0_19 -DSP_BASE_BIOS := some-path/bios_5_32_03 -DSP_BASE_RTDX := some-path/bios_5_32_03/packages/ti/rtdx -OSINC_PLATFORM1 := something -ARCHIVER_AR := something - - -# ---- construct Link build make vars ---- -GPP_MAKE_OPTS := COMPILER=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-gcc \ - LINKER=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-gcc \ - LD=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-ld \ - ARCHIVER1=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-ld \ - ARCHIVER2=$(GPPTOOL_DIR)/bin/arm-angstrom-linux-gnueabi-ld \ - CROSS_COMPILE=arm-angstrom-linux-gnueabi- \ - DSPLINK=$(LINK_INSTALL_DIR) \ - BASE_TOOLCHAIN=$(GPPTOOL_DIR) \ - BASE_BUILDOS=$(LINUXKERNEL_INSTALL_DIR) \ - ARCHIVER=$(ARCHIVER_AR) OSINC_PLATFORM=$(OSINC_PLATFORM1) \ - -DSP_MAKE_OPTS := DSPLINK=$(DSPLINK) \ - DPPROOT=$(DSPLINK)/dsp \ - BASE_SABIOS=$(DSP_BASE_BIOS) \ - BASE_CGTOOLS=$(DSP_BASE_CGTOOLS) \ - BASE_RTDX=$(DSP_BASE_RTDX) - - -# ======== all ======== -all: $(LINK_INSTALL_DIR)/packages/dsplink/gpp/export/BIN/Linux/Davinci/RELEASE/dsplinkk.ko - -$(LINK_INSTALL_DIR)/packages/dsplink/gpp/export/BIN/Linux/Davinci/RELEASE/dsplinkk.ko: - #@echo Building DSPLINK GPP driver, libs - #make -s -C $(LINK_INSTALL_DIR)/gpp/src $(GPP_MAKE_OPTS) - #make -s -C $(DSPLINK)/gpp/src/samples $(GPP_MAKE_OPTS) - @echo Building DSPLINK DSP libs and message sample for DaVinci... - make -C $(DSPLINK)/dsp/src $(DSP_MAKE_OPTS) - make -C $(DSPLINK)/dsp/src/samples $(DSP_MAKE_OPTS) - -# clean rules -clean: - @echo Cleaning DSPLINK GPP driver, libs - make -s -C $(LINK_INSTALL_DIR)/gpp/src $(GPP_MAKE_OPTS) clean - @rm -rf $(LINK_INSTALL_DIR)/gpp/export/BIN/* - @rm -rf $(LINK_INSTALL_DIR)/gpp/export/INCLUDE/* diff --git a/recipes/ti/ti-dsplink/Makefile-dsplink-gpp b/recipes/ti/ti-dsplink/Makefile-dsplink-gpp deleted file mode 100644 index d9f2f6209a..0000000000 --- a/recipes/ti/ti-dsplink/Makefile-dsplink-gpp +++ /dev/null @@ -1,120 +0,0 @@ -# Composite Makefile -DIRSEP=/ - -TI_DSPLINK_RELATIVE_PATH :=../../../../ - -# include the CURRENTCFG.mk -include $(DSPLINK)$(DIRSEP)config$(DIRSEP)BUILD$(DIRSEP)CURRENTCFG.MK - -# Generate the list of sources -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)arch$(DIRSEP)SOURCES -ARCH_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)arch$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)ldrv$(DIRSEP)SOURCES -LDRV_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)ldrv$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)ldrv$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)SOURCES -LDRV_SOURCES += $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)ldrv$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)gen$(DIRSEP)SOURCES -GEN_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)gen$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)SOURCES -PMGR_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)SOURCES -PMGR_SOURCES += $(addpreifx $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(TI_DSPLINK_GPPOSVERSION)$(DIRSEP)SOURCES -PMGR_SOURCES += $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)pmgr$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(TI_DSPLINK_GPPOSVERSION)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)SOURCES -OSAL_SOURCES := $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)SOURCES -OSAL_SOURCES += $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(TI_DSPLINK_GPPOSVERSION)$(DIRSEP)SOURCES -OSAL_SOURCES += $(addprefix $(TI_DSPLINK_RELATIVE_PATH)gpp$(DIRSEP)src$(DIRSEP)osal$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(TI_DSPLINK_GPPOSVERSION)$(DIRSEP),$(SOURCES)) - -DSPLINK_SOURCES := $(ARCH_SOURCES) $(LDRV_SOURCES) $(GEN_SOURCES) $(OSAL_SOURCES) $(PMGR_SOURCES) -DSPLINK_OBJS := $(foreach srcFile, $(DSPLINK_SOURCES),$(basename $(srcFile)).o) - -# EXTRA_CFLAGS -EXTRA_CFLAGS += $(addprefix -D, $(TI_DSPLINK_GPP_DEFINES)) -EXTRA_CFLAGS += $(addprefix -I, $(TI_DSPLINK_GPP_INC_PATH)) -EXTRA_CFLAGS += -DEXPORT_SYMTAB -EXTRA_CFLAGS += -DTRACE_KERNEL - -ifneq ($(KERNELRELEASE),) -obj-m := dsplinkk.o -dsplinkk-objs := $(DSPLINK_OBJS) -else -KDIR := /path/to/kernel/ -PWD := $(shell pwd) -driver: - $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules -endif - -clean: - @echo DSPLINK - cleaning driver, library and samples - find $(DSPLINK) -name "*.o" -exec rm {} \; - rm -fr dsplinkk.ko dsplinkk.mod.c Module.symvers *gpp *.a *.lib - -################################################################################################ -# USER SIDE -BUILD_CONFIG := ..$(DIRSEP)..$(DIRSEP)..$(DIRSEP)config$(DIRSEP)BUILD -# Generate the list of sources -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)api$(DIRSEP)SOURCES -API_SOURCES := $(addprefix $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)api$(DIRSEP),$(SOURCES)) -SOURCES := -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)api$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)SOURCES -API_SOURCES += $(addprefix $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)api$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP),$(SOURCES)) - -# Update the CFLAG -#CC = arm-none-linux-gnueabi-gcc -#AR = arm-none-linux-gnueabi-ar -#LD = arm-none-linux-gnueabi-ld -ARFLAGS = -rs -LDFLAGS = -r -EXTRA_CFLAGS += $(addprefix -D, $(TI_DSPLINK_GPP_DEFINES)) $(addprefix -I, $(TI_DSPLINK_GPP_INC_PATH)) - -define CONFIG_template -$(shell cp $(DSPLINK)$(DIRSEP)config$(DIRSEP)all$(DIRSEP)$(1) $(DSPLINK)$(DIRSEP)config$(DIRSEP)BUILD$(DIRSEP)) -endef - -define PROGRAM_template -$(basename $(1)).o: $(1) - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $(1) -o $(basename $(1)).o -endef -$(foreach prog,$(API_SOURCES),$(eval $(call PROGRAM_template,$(prog)))) -$(foreach prog,$(CONFIG),$(eval $(call CONFIG_template,$(prog)))) - -DSPLINK_API_OBJS := $(foreach srcFile, $(API_SOURCES),$(basename $(srcFile)).o) - -library: $(DSPLINK_API_OBJS) - @echo DSPLINK - building user library - dsplink.lib - $(LD) $(LDFLAGS) -o dsplink.lib $(DSPLINK_API_OBJS) - $(AR) $(ARFLAGS) dsplink.a $(DSPLINK_API_OBJS) - - -######################################### SAMPLES ################################### -SOURCES := -define SAMPLES_template -ifneq ($(1),message_multi) -$(1): $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(1).c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(1)_os.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -I$(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1) -I$(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS) -o $(1)gpp $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(1).c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)$(1)_os.c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)main.c dsplink.lib -lpthread -else -$(1): $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)message.c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)message_os.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -I$(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1) -I$(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS) -o $(1)gpp $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)message.c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)message_os.c $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)$(1)$(DIRSEP)$(TI_DSPLINK_GPPOS)$(DIRSEP)main.c dsplink.lib -lpthread -endif -endef - -include $(TI_DSPLINK_GPPROOT)$(DIRSEP)src$(DIRSEP)samples$(DIRSEP)DIRS -$(foreach prog,$(DIRS),$(eval $(call SAMPLES_template,$(prog)))) - -samples: $(foreach prog,$(DIRS),$(prog)) - -all: driver library samples diff --git a/recipes/ti/ti-dsplink/dsplink-128M.patch b/recipes/ti/ti-dsplink/dsplink-128M.patch deleted file mode 100644 index ff5902bf50..0000000000 --- a/recipes/ti/ti-dsplink/dsplink-128M.patch +++ /dev/null @@ -1,104 +0,0 @@ -diff -Nurd dsplink_1_50/dsplink/config/all/CFG_Davinci_DM6446.c dsplink_1_50.work/dsplink/config/all/CFG_Davinci_DM6446.c ---- dsplink_1_50/dsplink/config/all/CFG_Davinci_DM6446.c 2007-12-03 08:11:41.000000000 -0500 -+++ dsplink_1_50.work/dsplink/config/all/CFG_Davinci_DM6446.c 2008-07-29 16:52:28.000000000 -0400 -@@ -69,8 +69,8 @@ - FALSE, /* AUTOSTART : Autostart the DSP (Not supported) */ - "DEFAULT.OUT", /* EXECUTABLE : Executable for autostart */ - TRUE, /* DOPOWERCTRL : Link does the Power Ctrl of DSP. */ -- 0x8FF00020, /* RESUMEADDR : Resume address */ -- 0x8FF00000, /* RESETVECTOR : Reset Vector for the DSP */ -+ 0x87000020, /* RESUMEADDR : Resume address */ -+ 0x87000000, /* RESETVECTOR : Reset Vector for the DSP */ - 0x80, /* RESETCODESIZE : Size of code at DSP Reset Vector */ - 1, /* MADUSIZE : DSP Minimum Addressable Data Unit */ - (Uint32) -1, /* CPUFREQ : DSP Frequency (in KHz), -1 if default setting is to be used */ -@@ -93,8 +93,8 @@ - { - 0, /* ENTRY : Entry number */ - "DSPLINKMEM", /* NAME : Name of the memory region */ -- 0x8FE00000, /* ADDRPHYS : Physical address */ -- 0x8FE00000, /* ADDRDSPVIRT : DSP virtual address */ -+ 0x87000000, /* ADDRPHYS : Physical address */ -+ 0x87000000, /* ADDRDSPVIRT : DSP virtual address */ - (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */ - 0x5000, /* SIZE : Size of the memory region */ - TRUE /* SHARED : Shared access memory? */ -@@ -102,8 +102,8 @@ - { - 1, /* ENTRY : Entry number */ - "DSPLINKMEM1", /* NAME : Name of the memory region */ -- 0x8FE05000, /* ADDRPHYS : Physical address */ -- 0x8FE05000, /* ADDRDSPVIRT : DSP virtual address */ -+ 0x87005000, /* ADDRPHYS : Physical address */ -+ 0x87005000, /* ADDRDSPVIRT : DSP virtual address */ - (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */ - 0xFB000, /* SIZE : Size of the memory region */ - TRUE /* SHARED : Shared access memory? */ -@@ -111,8 +111,8 @@ - { - 2, /* ENTRY : Entry number */ - "RESETCTRL", /* NAME : Name of the memory region */ -- 0x8FF00000, /* ADDRPHYS : Physical address */ -- 0x8FF00000, /* ADDRDSPVIRT : DSP virtual address */ -+ 0x87100000, /* ADDRPHYS : Physical address */ -+ 0x87100000, /* ADDRDSPVIRT : DSP virtual address */ - (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */ - 0x00000080, /* SIZE : Size of the memory region */ - FALSE /* SHARED : Shared access memory? */ -@@ -120,10 +120,10 @@ - { - 3, /* ENTRY : Entry number */ - "DDR", /* NAME : Name of the memory region */ -- 0x8FF00080, /* ADDRPHYS : Physical address */ -- 0x8FF00080, /* ADDRDSPVIRT : DSP virtual address */ -+ 0x87100080, /* ADDRPHYS : Physical address */ -+ 0x87100080, /* ADDRDSPVIRT : DSP virtual address */ - (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */ -- 0xFFF80, /* SIZE : Size of the memory region */ -+ 0xEFFF80, /* SIZE : Size of the memory region */ - FALSE /* SHARED : Shared access memory? */ - }, - { -diff -Nurd dsplink_1_50/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci dsplink_1_50.work/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci ---- dsplink_1_50/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci 2007-12-03 08:11:55.000000000 -0500 -+++ dsplink_1_50.work/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci 2008-07-29 16:56:03.000000000 -0400 -@@ -54,7 +54,10 @@ - prog.module("GBL").C64PLUSCONFIGURE = true ; - prog.module("GBL").C64PLUSL2CFG = "32k" ; - prog.module("GBL").C64PLUSL1DCFG = "32k" ; -+prog.module("GBL").C64PLUSMAR128to159 = 0xFFFFFFFF ; -+/* - prog.module("GBL").C64PLUSMAR128to159 = 0x00008000 ; -+*/ - - /* ============================================================================ - * MEM -@@ -67,7 +70,7 @@ - * ============================================================================ - */ - var DSPLINKMEM = prog.module("MEM").create("DSPLINKMEM"); --DSPLINKMEM.base = 0x8FE00000; -+DSPLINKMEM.base = 0x87000000; - DSPLINKMEM.len = 0x100000; - DSPLINKMEM.createHeap = false; - DSPLINKMEM.comment = "DSPLINKMEM"; -@@ -77,7 +80,7 @@ - * ============================================================================ - */ - var RESET_VECTOR = prog.module("MEM").create("RESET_VECTOR"); --RESET_VECTOR.base = 0x8FF00000; -+RESET_VECTOR.base = 0x87100000; - RESET_VECTOR.len = 0x00000080; - RESET_VECTOR.space = "code/data"; - RESET_VECTOR.createHeap = false; -@@ -88,8 +91,8 @@ - * ============================================================================ - */ - var DDR = prog.module("MEM").create("DDR"); --DDR.base = 0x8FF00080; --DDR.len = 0x000FFF80; -+DDR.base = 0x87100080; -+DDR.len = 0xEFFF80; - DDR.space = "code/data"; - DDR.createHeap = true; - DDR.heapSize = 0x10000; diff --git a/recipes/ti/ti-dsplink/dsplink-add-class-device-create-support.patch b/recipes/ti/ti-dsplink/dsplink-add-class-device-create-support.patch deleted file mode 100644 index b43c3481e1..0000000000 --- a/recipes/ti/ti-dsplink/dsplink-add-class-device-create-support.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -uNr codec_engine_2_21/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c ---- codec_engine_2_21/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2008-10-24 20:58:01.000000000 +0100 -+++ codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2009-02-20 23:46:42.000000000 +0000 -@@ -37,6 +37,10 @@ - #endif - - /* ----------------------------------- OS Specific Headers */ -+#include -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) -+#include -+#endif - #include - #include - #include -@@ -190,6 +194,16 @@ - */ - STATIC Int32 major = 230 ; - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) -+/** ---------------------------------------------------------------------------- -+ * @name dsplink_class -+ * -+ * @desc class struct for device create. -+ * ---------------------------------------------------------------------------- -+ */ -+STATIC struct class *dsplink_class; -+#endif -+ - /** ---------------------------------------------------------------------------- - * @name DRV_IsInitialized - * -@@ -673,6 +687,11 @@ - } - #endif /* if defined (CHNL_COMPONENT) */ - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) -+ dsplink_class = class_create(THIS_MODULE, "dsplink"); -+ device_create(dsplink_class, NULL, MKDEV(major, 0), NULL, "dsplink"); -+#endif -+ - if (DSP_SUCCEEDED (status)) { - DRV_IsInitialized = TRUE ; - } -@@ -717,6 +736,11 @@ - } - #endif /* if defined (CHNL_COMPONENT) */ - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) -+ device_destroy(dsplink_class, MKDEV(major, 0)); -+ class_destroy(dsplink_class); -+#endif -+ - unregister_chrdev (major, "dsplink") ; - - DRV_IsInitialized = FALSE ; diff --git a/recipes/ti/ti-dsplink/dsplink-semaphore-27.patch b/recipes/ti/ti-dsplink/dsplink-semaphore-27.patch deleted file mode 100644 index b2f71169fd..0000000000 --- a/recipes/ti/ti-dsplink/dsplink-semaphore-27.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -uNr codec_engine_2_21/cetools/packages/dsplink/gpp/src/osal/Linux/2.6.18/sync.c codec_engine_2_21_fix/cetools/packages/dsplink/gpp/src/osal/Linux/2.6.18/sync.c ---- codec_engine_2_21/cetools/packages/dsplink/gpp/src/osal/Linux/2.6.18/sync.c 2008-12-19 16:27:19.000000000 +0530 -+++ codec_engine_2_21_mod/cetools/packages/dsplink/gpp/src/osal/Linux/2.6.18/sync.c 2009-02-12 10:08:48.000000000 +0530 -@@ -30,9 +30,14 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include - #include - #include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) - #include -+#else -+#include -+#endif - #include - #include - #include -diff -uNr codec_engine_2_21/cetools/packages/dsplink/gpp/src/osal/Linux/user.c codec_engine_2_21_fix/cetools/packages/dsplink_mod/gpp/src/osal/Linux/user.c ---- codec_engine_2_21/cetools/packages/dsplink/gpp/src/osal/Linux/user.c 2008-12-19 16:27:19.000000000 +0530 -+++ codec_engine_2_21_fix/cetools/packages/dsplink_mod/gpp/src/osal/Linux/user.c 2009-02-12 10:08:05.000000000 +0530 -@@ -30,9 +30,14 @@ - - - /* ----------------------------------- OS Specific Headers */ -+#include - #include - #include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) - #include -+#else -+#include -+#endif - #include - #include - #include diff --git a/recipes/ti/ti-dsplink_1.61.3.bb b/recipes/ti/ti-dsplink_1.61.3.bb deleted file mode 100644 index 83db044184..0000000000 --- a/recipes/ti/ti-dsplink_1.61.3.bb +++ /dev/null @@ -1,9 +0,0 @@ -require ti-dsplink.inc - -PV = "1_61_03" - -do_configure_append() { - # dsplink makefile is hard-coded to use kbuild only on OMAP3530. - # we are forcing to use kbuild on other platforms. - sed -i 's/OMAP3530/${DSPLINKPLATFORM}/g' ${DSPLINK}/gpp/src/Makefile -} -- 2.11.4.GIT