summaryrefslogtreecommitdiff
path: root/recipes/ti
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2010-03-10 22:59:59 +0000
committerKoen Kooi <koen@openembedded.org>2010-04-12 19:43:23 +0200
commitf7cf756b00e0771519a4e6daf87d47ba948af147 (patch)
tree692b28afa6f84c435b85307deb74e6dbdac0fa0c /recipes/ti
parent8861d37764644b62e75e0483f235f5829c27ccc6 (diff)
ti-recipes: Remove old unused patches/files, cleanup /files
* Remove old legacy patches (from older kernel version support) * Relocate files from /files to recipe specific directories Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/ti')
-rw-r--r--recipes/ti/files/cmem-class-device-27-and-sched-include-fix.patch23
-rw-r--r--recipes/ti/files/cmem-remove-show-pte-function.patch56
-rw-r--r--recipes/ti/files/dm355mm_1_30.patch498
-rw-r--r--recipes/ti/files/lpm-device-create-and-semaphore-include-fix.patch121
-rw-r--r--recipes/ti/files/lpm-make-symbol-warnings-fix.patch117
-rw-r--r--recipes/ti/files/sdma-class-device-and-includes-fix.patch59
-rw-r--r--recipes/ti/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh (renamed from recipes/ti/files/loadmodules-ti-codec-engine-apps.sh)0
-rw-r--r--recipes/ti/ti-codec-engine/unloadmodules-ti-codec-engine-apps.sh (renamed from recipes/ti/files/unloadmodules-ti-codec-engine-apps.sh)0
-rw-r--r--recipes/ti/ti-codecs-omap3530/mp3dec_cs1omap3530.patch (renamed from recipes/ti/files/mp3dec_cs1omap3530.patch)0
9 files changed, 0 insertions, 874 deletions
diff --git a/recipes/ti/files/cmem-class-device-27-and-sched-include-fix.patch b/recipes/ti/files/cmem-class-device-27-and-sched-include-fix.patch
deleted file mode 100644
index 8eb3210bb1..0000000000
--- a/recipes/ti/files/cmem-class-device-27-and-sched-include-fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -uNr codec_engine_2_21/cetools/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c codec_engine_2_21_fix/cetools/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
---- codec_engine_2_21/cetools/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c 2009-02-12 22:02:15.000000000 +0000
-+++ codec_engine_2_21_fix/cetools/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c 2009-02-12 22:08:49.000000000 +0000
-@@ -29,6 +29,7 @@
- #include <linux/mm.h>
- #include <linux/seq_file.h>
- #include <linux/vmalloc.h>
-+#include <linux/sched.h>
- #include <asm/cacheflush.h>
- #include <asm/uaccess.h>
- #include <asm/pgtable.h>
-@@ -1710,7 +1711,11 @@
- #ifdef USE_CLASS_DEVICE
- class_device_create(cmem_class, NULL, MKDEV(cmem_major, 0), NULL, "cmem");
- #else
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-+ device_create(cmem_class, NULL, MKDEV(cmem_major, 0), NULL, "cmem");
-+#else
- device_create(cmem_class, NULL, MKDEV(cmem_major, 0), "cmem");
-+#endif // LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
- #endif // USE_CLASS_DEVICE
- #endif // USE_CLASS_SIMPLE
- #endif // USE_UDEV
diff --git a/recipes/ti/files/cmem-remove-show-pte-function.patch b/recipes/ti/files/cmem-remove-show-pte-function.patch
deleted file mode 100644
index 2d0fe672ef..0000000000
--- a/recipes/ti/files/cmem-remove-show-pte-function.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- codec_engine_2_23_01/cetools/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c 2009-04-20 14:43:31.000000000 -0400
-+++ codec_engine_2_23_01.new/cetools/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c 2009-07-28 10:48:38.000000000 -0400
-@@ -1018,53 +1018,6 @@
- }
-
-
--/*
-- * This is useful to dump out the page tables associated with
-- * 'addr' in mm 'mm'.
-- */
--void show_pte(struct mm_struct *mm, unsigned long addr)
--{
-- pgd_t *pgd;
--
-- if (!mm)
-- mm = &init_mm;
--
-- printk(KERN_ALERT "pgd = %p\n", mm->pgd);
-- pgd = pgd_offset(mm, addr);
-- printk(KERN_ALERT "[%08lx] *pgd=%08lx", addr, pgd_val(*pgd));
--
-- do {
-- pmd_t *pmd;
-- pte_t *pte;
--
-- if (pgd_none(*pgd))
-- break;
--
-- if (pgd_bad(*pgd)) {
-- printk("(bad)");
-- break;
-- }
--
-- pmd = pmd_offset(pgd, addr);
--
-- if (pmd_none(*pmd))
-- break;
--
-- if (pmd_bad(*pmd)) {
-- printk("(bad)");
-- break;
-- }
--
-- /* We must not map this if we have highmem enabled */
-- pte = pte_offset_map(pmd, addr);
-- printk(", *pte=%08lx", pte_val(*pte));
-- printk(", *ppte=%08lx", pte_val(pte[-PTRS_PER_PTE]));
-- pte_unmap(pte);
-- } while(0);
--
-- printk("\n");
--}
--
- static int set_noncached(struct vm_area_struct *vma)
- {
- vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
diff --git a/recipes/ti/files/dm355mm_1_30.patch b/recipes/ti/files/dm355mm_1_30.patch
deleted file mode 100644
index 6ee6064f5a..0000000000
--- a/recipes/ti/files/dm355mm_1_30.patch
+++ /dev/null
@@ -1,498 +0,0 @@
-diff -uNr dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c dm355_codecs_1_13_000.new/dm355mm/module/dm350mmap.c
---- dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c 2009-05-20 11:22:57.000000000 -0500
-+++ dm355_codecs_1_13_000.new/dm355mm/module/dm350mmap.c 2009-06-09 10:43:25.000000000 -0500
-@@ -7,7 +7,7 @@
- * Use of this software is controlled by the terms and conditions found in the
- * license agreement under which this software has been supplied or provided.
- * ============================================================================
-- */
-+ */
- #include <linux/module.h>
- #include <linux/init.h>
- #include <linux/moduleparam.h>
-@@ -20,274 +20,283 @@
- #include <linux/proc_fs.h>
- #include <linux/kernel.h>
- #include <linux/device.h>
--
-+#include <linux/clk.h>
-+
- #include <asm/page.h>
- #include <asm/uaccess.h>
- #include <asm/pgtable.h>
- #include <asm/io.h>
--#include<asm/system.h>
--#include<asm-arm/memory.h>
-+#include <asm/system.h>
-+#include <asm/memory.h>
-+
- #include <asm/irq.h>
--
-+
-+#include <linux/version.h>
- #include <linux/completion.h>
--#include <asm/arch/edma.h>
--
-+#include <mach/edma.h>
-+
- #define ASQINT_ENABLE
-- typedef struct _edma_params
--{
-- unsigned long src;
-- unsigned long dst;
-- unsigned int srcmode;
-- unsigned int srcfifowidth;
-- int srcbidx;
-- int srccidx;
-- unsigned int dstmode;
-- unsigned int dstfifowidth;
-- int dstbidx;
-- int dstcidx;
-- int acnt;
-- int bcnt;
-- int ccnt;
-- int bcntrld;
-- int syncmode;
-- } edma_params;
-+typedef struct _edma_params {
-+ unsigned long src;
-+ unsigned long dst;
-+ unsigned int srcmode;
-+ unsigned int srcfifowidth;
-+ int srcbidx;
-+ int srccidx;
-+ unsigned int dstmode;
-+ unsigned int dstfifowidth;
-+ int dstbidx;
-+ int dstcidx;
-+ int acnt;
-+ int bcnt;
-+ int ccnt;
-+ int bcntrld;
-+ int syncmode;
-+} edma_params;
-
- #define DM350MMAP_IOCMEMCPY 0x7
- #define DM350MMAP_IOCWAIT 0x8
- #define DM350MMAP_IOCCLEAR_PENDING 0x9
--
-+
- #ifdef __DEBUG
--#define __D(fmt, args...) printk(KERN_DEBUG "DM350MMAP Debug: " fmt, ## args)
-+# define __D(fmt, args...) printk(KERN_DEBUG "DM350MMAP Debug: " fmt, ## args)
- #else /* */
--#define __D(fmt, args...)
-+# define __D(fmt, args...)
- #endif /* */
--
-+
- #define __E(fmt, args...) printk(KERN_ERR "DM350MMAP Error: " fmt, ## args)
--
-+
- #define MAXTYPE(T) ((T) (((T)1 << ((sizeof(T) * 8) - 1) ^ ((T) -1))))
--
-+
- static int major = 0;
-
- #if (USE_UDEV==1)
- static struct class *dm350mmap_class;
--
- #endif // USE_UDEV
--static DECLARE_MUTEX_LOCKED (dm350mmap_reply_mutex);
--int master_ch;
--struct completion edmacompletion;
--
--/* Forward declaration of system calls */
--static int ioctl (struct inode *inode, struct file *filp, unsigned int cmd,
-- unsigned long args);
--static int mmap (struct file *filp, struct vm_area_struct *vma);
--static int open (struct inode *inode, struct file *filp);
--static int release (struct inode *inode, struct file *filp);
-+
-+static DECLARE_MUTEX(dm350mmap_reply_mutex);
-+static struct completion edmacompletion;
-+
-+/* Forward declaration of system calls */
-+static int ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
-+ unsigned long args);
-+static int mmap(struct file *filp, struct vm_area_struct *vma);
-+static int open(struct inode *inode, struct file *filp);
-+static int release(struct inode *inode, struct file *filp);
- static struct file_operations dm350mmap_fxns = { ioctl: ioctl, mmap: mmap, open: open, release:release
--
- };
-
--static irqreturn_t irq_handler (int irq, void *dev_id, struct pt_regs *regs)
-+/* Structure to hold mjcp clock info */
-+static struct clk *mjcp = NULL;
-+
-+//static irqreturn_t irq_handler (int irq, void *dev_id, struct pt_regs *regs)
-+static irqreturn_t irq_handler(int irq, void *dev_id)
- {
--
-- /* Release the mutex, suggesting sequencer processing complete */
-- up (&dm350mmap_reply_mutex);
-- return IRQ_HANDLED;
-+ /* Release the mutex, suggesting sequencer processing complete */
-+ up(&dm350mmap_reply_mutex);
-+ return IRQ_HANDLED;
- }
-
--static void memcpy_dma_irq_handler (int lch, u16 ch_status, void *data)
-+static void memcpy_dma_irq_handler(unsigned lch, u16 ch_status, void *data)
- {
-- complete_all (&edmacompletion);
--}
-+ complete_all(&edmacompletion);
-+}
-
--static int mmap (struct file *filp, struct vm_area_struct *vma)
-+static int mmap(struct file *filp, struct vm_area_struct *vma)
- {
-- __D ("mmap: vma->vm_start = %#lx\n", vma->vm_start);
-- __D ("mmap: vma->vm_pgoff = %#lx\n", vma->vm_pgoff);
-- __D ("mmap: vma->vm_end = %#lx\n", vma->vm_end);
-- __D ("mmap: size = %#lx\n", vma->vm_end - vma->vm_start);
-- vma->vm_page_prot = pgprot_noncached (vma->vm_page_prot);
-- if (remap_pfn_range (vma, vma->vm_start,
--
--#ifdef LINUX_2_6_18
-- (vma->vm_pgoff >> PAGE_SHIFT),
-+ __D("mmap: vma->vm_start = %#lx\n", vma->vm_start);
-+ __D("mmap: vma->vm_pgoff = %#lx\n", vma->vm_pgoff);
-+ __D("mmap: vma->vm_end = %#lx\n", vma->vm_end);
-+ __D("mmap: size = %#lx\n", vma->vm_end - vma->vm_start);
-+ vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
-+ if (remap_pfn_range(vma, vma->vm_start,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
-+ (vma->vm_pgoff >> PAGE_SHIFT),
- #else /* */
-- vma->vm_pgoff,
-+ vma->vm_pgoff,
- #endif /* */
--
-- vma->vm_end - vma->vm_start, vma->vm_page_prot))
-- {
-- __E ("mmap: failed remap_pfn_range\n");
-- return -EAGAIN;
-+ vma->vm_end - vma->vm_start, vma->vm_page_prot)) {
-+ __E("mmap: failed remap_pfn_range\n");
-+ return -EAGAIN;
- }
-- return 0;
-+ return 0;
- }
-
-
--static int ioctl (struct inode *inode, struct file *filp, unsigned int cmd,
-- unsigned long args)
-+static int ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
-+ unsigned long args)
- {
-- unsigned int __user *argp = (unsigned int __user *) args;
-- edma_params edmaparams;
-- int err = 0, tcc = EDMA_TCC_ANY;
-- struct paramentry_descriptor paramentry;
-- switch (cmd)
-- {
--
-- /*
-- * Tries to clear any previously unaccounted interrupt.
-- */
-- case DM350MMAP_IOCCLEAR_PENDING:
--
-- {
-- int retval;
-- __D ("Clear Pending Call received.\n");
-- init_MUTEX_LOCKED(&dm350mmap_reply_mutex);
-- return 0;
-- }
-- break;
--
-- /*
-- * Blocks till the sequencer completion interrupt arrives.
-- */
-- case DM350MMAP_IOCWAIT:
--
-- {
-- int retval;
-- __D ("WAIT Call received.\n");
-- retval = down_interruptible (&dm350mmap_reply_mutex);
-- return retval;
-- }
-- break;
-- case DM350MMAP_IOCMEMCPY:
-- __D ("MEMCPY ioctl received.\n");
-- if (copy_from_user (&edmaparams, argp, sizeof (edmaparams)))
-- {
-- return -EFAULT;
-- }
-- err =
-- davinci_request_dma (EDMA_DMA_CHANNEL_ANY, "EDMA memcpy",
-- memcpy_dma_irq_handler, NULL, &master_ch, &tcc,
-- EVENTQ_1);
--
-- /* Handle Failure condition here */
-- if (err < 0)
-- {
-- __E ("Error in requesting Master channel %d = 0x%x\n", master_ch,
-- err);
-- return err;
-- }
-- davinci_stop_dma (master_ch);
-- init_completion (&edmacompletion);
-- davinci_set_dma_src_params (master_ch,
-- (unsigned long) edmaparams.src,
-- edmaparams.srcmode,
-- edmaparams.srcfifowidth);
-- davinci_set_dma_dest_params (master_ch,
-- (unsigned long) edmaparams.dst,
-- edmaparams.dstmode,
-- edmaparams.dstfifowidth);
-- davinci_set_dma_src_index (master_ch, edmaparams.srcbidx,
-- edmaparams.srccidx);
-- davinci_set_dma_dest_index (master_ch, edmaparams.dstbidx,
-- edmaparams.dstcidx);
-- davinci_set_dma_transfer_params (master_ch, edmaparams.acnt,
-- edmaparams.bcnt, edmaparams.ccnt,
-- edmaparams.bcntrld,
-- edmaparams.syncmode);
-- davinci_get_dma_params (master_ch, &paramentry);
--
-- /*printk("%x : %x : %x : %x : %x : %x : %x\n", paramentry.opt,
-- paramentry.a_b_cnt, paramentry.src_dst_bidx,
-- paramentry.src_dst_cidx, paramentry.ccnt, paramentry.src,
-- paramentry.dst); */
-- davinci_set_dma_params (master_ch, &paramentry);
-- davinci_start_dma (master_ch);
-- wait_for_completion (&edmacompletion);
--
-- //printk("Dma completed... \n");
-- davinci_stop_dma (master_ch);
-- davinci_free_dma (master_ch);
-- break;
-- default:
-- __E ("Unknown ioctl received = %d.\n", cmd);
-- return -EINVAL;
-+ unsigned int __user *argp = (unsigned int __user *) args;
-+ edma_params edmaparams;
-+ int edma_channel;
-+ int retval = 0;
-+ struct edmacc_param p_ram;
-+
-+ switch (cmd) {
-+
-+ /*
-+ * Tries to clear any previously unaccounted interrupt.
-+ */
-+ case DM350MMAP_IOCCLEAR_PENDING:
-+ __D("Clear Pending Call received.\n");
-+ init_MUTEX_LOCKED(&dm350mmap_reply_mutex);
-+ break;
-+
-+ /*
-+ * Blocks till the sequencer completion interrupt arrives.
-+ */
-+ case DM350MMAP_IOCWAIT:
-+ __D("WAIT Call received.\n");
-+ retval = down_interruptible(&dm350mmap_reply_mutex);
-+ break;
-+
-+ case DM350MMAP_IOCMEMCPY:
-+ __D("MEMCPY ioctl received.\n");
-+ if (copy_from_user(&edmaparams, argp, sizeof(edmaparams))) {
-+ retval = -EFAULT;
-+ break;
-+ }
-+
-+ edma_channel =
-+ edma_alloc_channel(EDMA_CHANNEL_ANY, &memcpy_dma_irq_handler,
-+ NULL, EVENTQ_1);
-+
-+ /* Handle Failure condition here */
-+ if (edma_channel < 0) {
-+ __E("Error in requesting Master channel = 0x%x\n",
-+ edma_channel);
-+ retval = edma_channel;
-+ break;
-+ }
-+
-+ edma_stop(edma_channel);
-+
-+ init_completion(&edmacompletion);
-+
-+ edma_set_src(edma_channel,
-+ (dma_addr_t) edmaparams.src,
-+ edmaparams.srcmode, edmaparams.srcfifowidth);
-+
-+ edma_set_dest(edma_channel,
-+ (dma_addr_t) edmaparams.dst,
-+ edmaparams.dstmode, edmaparams.dstfifowidth);
-+
-+ edma_set_src_index(edma_channel, edmaparams.srcbidx,
-+ edmaparams.srccidx);
-+ edma_set_dest_index(edma_channel, edmaparams.dstbidx,
-+ edmaparams.dstcidx);
-+
-+ edma_set_transfer_params(edma_channel,
-+ edmaparams.acnt,
-+ edmaparams.bcnt,
-+ edmaparams.ccnt,
-+ edmaparams.bcntrld, edmaparams.syncmode);
-+
-+ edma_read_slot(edma_channel, &p_ram);
-+ p_ram.opt |= TCINTEN | EDMA_TCC(edma_channel);
-+ edma_write_slot(edma_channel, &p_ram);
-+
-+ edma_start(edma_channel);
-+ wait_for_completion(&edmacompletion);
-+ edma_stop(edma_channel);
-+ edma_free_channel(edma_channel);
-+ break;
-+
-+ default:
-+ __E("Unknown ioctl received = %d.\n", cmd);
-+ retval = -EINVAL;
-+ break;
- }
-- return 0;
-+
-+ return retval;
- }
-
-
--static int open (struct inode *inode, struct file *filp)
-+static int open(struct inode *inode, struct file *filp)
- {
-- __D ("open: called.\n");
-- return 0;
-+ __D("open: called.\n");
-+ return 0;
- }
-
-
--static int release (struct inode *inode, struct file *filp)
-+static int release(struct inode *inode, struct file *filp)
- {
-- __D ("close: called.");
-- return 0;
-+ __D("close: called.");
-+ return 0;
- }
-
-
--int __init dm350mmap_init (void)
-+int __init dm350mmap_init(void)
- {
-- __D ("** DM350MMAP kernel module built: " __DATE__ " " __TIME__ "\n");
-- major = register_chrdev (0, "dm350mmap", &dm350mmap_fxns);
-- if (major < 0)
-- {
-- __E ("Failed to allocate major number.\n");
-- return -ENODEV;
-+ /* In the GIT kernel unused clocks are disabled. To run codec we need to
-+ * enable mjcp clock.
-+ */
-+ mjcp = clk_get(NULL, "mjcp");
-+ if (IS_ERR(mjcp))
-+ printk(KERN_WARNING "unable to get MJCP clock\n");
-+ else
-+ clk_enable(mjcp);
-+
-+ __D("** DM350MMAP kernel module built: " __DATE__ " " __TIME__ "\n");
-+ major = register_chrdev(0, "dm350mmap", &dm350mmap_fxns);
-+ if (major < 0) {
-+ __E("Failed to allocate major number.\n");
-+ return -ENODEV;
- }
-- __D ("Allocated major number: %d\n", major);
--
-+ __D("Allocated major number: %d\n", major);
-+
- #if (USE_UDEV==1)
-- dm350mmap_class = class_create (THIS_MODULE, "dm350mmap");
-- if (IS_ERR (dm350mmap_class))
-- {
-- __E ("Error creating dm350mmap device class.\n");
-- return -EIO;
-+ dm350mmap_class = class_create(THIS_MODULE, "dm350mmap");
-+ if (IS_ERR(dm350mmap_class)) {
-+ __E("Error creating dm350mmap device class.\n");
-+ return -EIO;
- }
-- class_device_create (dm350mmap_class, NULL, MKDEV (major, 0), NULL,
-- "dm350mmap");
--
-+ class_device_create(dm350mmap_class, NULL, MKDEV(major, 0), NULL,
-+ "dm350mmap");
-+
- #endif // USE_UDEV
-- __D ("Successfully initialized module\n");
--
-+ __D("Successfully initialized module\n");
-+
- #ifdef ASQINT_ENABLE
-- if (request_irq (IRQ_ASQINT, irq_handler, 0, "seq_arm_interrupt", NULL))
-- {
-- __D ("Could not install ISR\n");
-+ if (request_irq(IRQ_ASQINT, irq_handler, 0, "seq_arm_interrupt", NULL)) {
-+ __D("Could not install ISR\n");
- }
--
-+
- #endif /* */
-+ init_MUTEX_LOCKED(&dm350mmap_reply_mutex);
- return 0;
- }
-
-
--void __exit dm350mmap_exit (void)
-+void __exit dm350mmap_exit(void)
- {
-- __D ("In dm350mmap_exit()\n");
--
-+ /* if mjcp clock is enabled then free it */
-+ if (mjcp) {
-+ clk_disable(mjcp);
-+ clk_put(mjcp);
-+ }
-+
-+ __D("In dm350mmap_exit()\n");
-+
- #if (USE_UDEV==1)
-- class_device_destroy (dm350mmap_class, MKDEV (major, 0));
-- class_destroy (dm350mmap_class);
--
-+ class_device_destroy(dm350mmap_class, MKDEV(major, 0));
-+ class_destroy(dm350mmap_class);
-+
- #endif // USE_UDEV
-- __D ("Unregistering character device dm350mmap\n");
-- unregister_chrdev (major, "dm350mmap");
--
-+ __D("Unregistering character device dm350mmap\n");
-+ unregister_chrdev(major, "dm350mmap");
-+
- #ifdef ASQINT_ENABLE
-- free_irq (IRQ_ASQINT, NULL);
--
-+ free_irq(IRQ_ASQINT, NULL);
-+
- #endif /* */
-- __D ("dm350mmap unregistered\n");
--}
-+ __D("dm350mmap unregistered\n");
-+}
-
--module_init (dm350mmap_init);
-+module_init(dm350mmap_init);
-
--module_exit (dm350mmap_exit);
--MODULE_LICENSE ("GPL");
--MODULE_AUTHOR ("Texas Instruments");
--MODULE_DESCRIPTION ("DM350 mmap export to userland");
-+module_exit(dm350mmap_exit);
-+MODULE_LICENSE("GPL");
-+MODULE_AUTHOR("Texas Instruments");
-+MODULE_DESCRIPTION("DM350 mmap export to userland");
-
diff --git a/recipes/ti/files/lpm-device-create-and-semaphore-include-fix.patch b/recipes/ti/files/lpm-device-create-and-semaphore-include-fix.patch
deleted file mode 100644
index a3bc2b14a6..0000000000
--- a/recipes/ti/files/lpm-device-create-and-semaphore-include-fix.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-diff -uNr codec_engine_2_21/cetools/packages/ti/bios/power/modules/omap3530/lpm/lpm_driver.c codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/omap3530/lpm/lpm_driver.c
---- codec_engine_2_21/cetools/packages/ti/bios/power/modules/omap3530/lpm/lpm_driver.c 2008-11-05 00:18:39.000000000 +0000
-+++ codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/omap3530/lpm/lpm_driver.c 2009-02-13 00:16:50.000000000 +0000
-@@ -225,6 +225,9 @@
- .os_wait = lpm_os_wait,
- .os_trace = lpm_os_trace,
- };
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-+ char lpm_tempDeviceCreateName[50];
-+#endif
-
- TRACE(KERN_ALERT "lpm.ko: + lpm_init\n");
-
-@@ -286,9 +289,16 @@
- MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
- NULL, "lpm%d", lpm->inst[i].minor);
- #else
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-+ sprintf(lpm_tempDeviceCreateName, "lpm%d", lpm->inst[i].minor);
-+ device_create(lpm->lpm_class, NULL,
-+ MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
-+ NULL, lpm_tempDeviceCreateName);
-+#else
- device_create(lpm->lpm_class, NULL,
- MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
- "lpm%d", lpm->inst[i].minor);
-+#endif /* LINUX_VERSION */
- #endif
- }
-
-diff -uNr codec_engine_2_21/cetools/packages/ti/bios/power/modules/omap2530/lpm/lpm_driver.c codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/omap2530/lpm/lpm_driver.c
---- codec_engine_2_21/cetools/packages/ti/bios/power/modules/omap2530/lpm/lpm_driver.c 2008-11-05 00:18:39.000000000 +0000
-+++ codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/omap2530/lpm/lpm_driver.c 2009-02-13 00:16:50.000000000 +0000
-@@ -225,6 +225,9 @@
- .os_wait = lpm_os_wait,
- .os_trace = lpm_os_trace,
- };
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-+ char lpm_tempDeviceCreateName[50];
-+#endif
-
- TRACE(KERN_ALERT "lpm.ko: + lpm_init\n");
-
-@@ -286,9 +289,16 @@
- MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
- NULL, "lpm%d", lpm->inst[i].minor);
- #else
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-+ sprintf(lpm_tempDeviceCreateName, "lpm%d", lpm->inst[i].minor);
-+ device_create(lpm->lpm_class, NULL,
-+ MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
-+ NULL, lpm_tempDeviceCreateName);
-+#else
- device_create(lpm->lpm_class, NULL,
- MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
- "lpm%d", lpm->inst[i].minor);
-+#endif /* LINUX_VERSION */
- #endif
- }
-
-diff -uNr codec_engine_2_21/cetools/packages/ti/bios/power/modules/dm357/lpm/lpm_driver.c codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/dm357/lpm/lpm_driver.c
---- codec_engine_2_21/cetools/packages/ti/bios/power/modules/dm357/lpm/lpm_driver.c 2008-11-05 00:18:39.000000000 +0000
-+++ codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/dm357/lpm/lpm_driver.c 2009-02-13 00:16:50.000000000 +0000
-@@ -225,6 +225,9 @@
- .os_wait = lpm_os_wait,
- .os_trace = lpm_os_trace,
- };
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-+ char lpm_tempDeviceCreateName[50];
-+#endif
-
- TRACE(KERN_ALERT "lpm.ko: + lpm_init\n");
-
-@@ -286,9 +289,16 @@
- MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
- NULL, "lpm%d", lpm->inst[i].minor);
- #else
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-+ sprintf(lpm_tempDeviceCreateName, "lpm%d", lpm->inst[i].minor);
-+ device_create(lpm->lpm_class, NULL,
-+ MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
-+ NULL, lpm_tempDeviceCreateName);
-+#else
- device_create(lpm->lpm_class, NULL,
- MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
- "lpm%d", lpm->inst[i].minor);
-+#endif /* LINUX_VERSION */
- #endif
- }
-
-diff -uNr codec_engine_2_21/cetools/packages/ti/bios/power/modules/dm6446/lpm/lpm_driver.c codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/dm6446/lpm/lpm_driver.c
---- codec_engine_2_21/cetools/packages/ti/bios/power/modules/dm6446/lpm/lpm_driver.c 2008-11-05 00:18:39.000000000 +0000
-+++ codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/dm6446/lpm/lpm_driver.c 2009-02-13 00:16:50.000000000 +0000
-@@ -225,6 +225,9 @@
- .os_wait = lpm_os_wait,
- .os_trace = lpm_os_trace,
- };
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-+ char lpm_tempDeviceCreateName[50];
-+#endif
-
- TRACE(KERN_ALERT "lpm.ko: + lpm_init\n");
-
-@@ -286,9 +289,16 @@
- MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
- NULL, "lpm%d", lpm->inst[i].minor);
- #else
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-+ sprintf(lpm_tempDeviceCreateName, "lpm%d", lpm->inst[i].minor);
-+ device_create(lpm->lpm_class, NULL,
-+ MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
-+ NULL, lpm_tempDeviceCreateName);
-+#else
- device_create(lpm->lpm_class, NULL,
- MKDEV(lpm->inst[i].major, lpm->inst[i].minor),
- "lpm%d", lpm->inst[i].minor);
-+#endif /* LINUX_VERSION */
- #endif
- }
-
-
diff --git a/recipes/ti/files/lpm-make-symbol-warnings-fix.patch b/recipes/ti/files/lpm-make-symbol-warnings-fix.patch
deleted file mode 100644
index 031a16022f..0000000000
--- a/recipes/ti/files/lpm-make-symbol-warnings-fix.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-diff -uNr codec_engine_2_21/cetools/packages/ti/bios/power/modules/omap3530/lpm/Makefile codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/omap3530/lpm/Makefile
---- codec_engine_2_21/cetools/packages/ti/bios/power/modules/omap3530/lpm/Makefile 2008-11-05 00:38:57.000000000 +0000
-+++ codec_engine_2_21_fix/cetools/packages/ti/bios/power/modules/omap3530/lpm/Makefile 2009-02-17 23:53:08.000000000 +0000
-@@ -1,5 +1,5 @@
--#
--# Copyright 2008 by Texas Instruments Incorporated.
-+# --COPYRIGHT--,GPL
-+# Copyright $(CPYYEAR) by Texas Instruments Incorporated.
- #
- # This program is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
-@@ -12,31 +12,34 @@
- #
- # You should have received a copy of the GNU General Public License
- # along with this program. If not, see <http://www.gnu.org/licenses/>
--#
-+# --/COPYRIGHT--
- #
-
- #
- # This makefile will build the lpm_omap3530.ko driver.
- #
-
-+# If KERNELRELEASE is undefined, then this makefile has been invoked
-+# directly from the command line. Invoke the kernel build system.
-+ifeq ($(KERNELRELEASE),)
-+
-+
- # Update these macros to reflect you environment.
- #
--# KERNEL_DIR = the Linux kernel source directory
--# TOOL_PREFIX = the toolchain directory and decorated name prefix
-+# LINUXKERNEL_INSTALL_DIR = the Linux kernel source directory
-+# MVTOOL_PREFIX = the toolchain directory and decorated name prefix
- # DSPLINK_REPO = the repository which contains DSP/BIOS LINK
--# DSPLINK_BLD = the DSP/BIOS LINK build variant
- #
--KERNEL_DIR = /db/toolsrc/library/toolsC38/vendors/mvl/arm/omap3/OMAP35x_SDK_0.9.7/src/linux/kernel_org/2.6_kernel
--TOOL_PREFIX = /db/toolsrc/library/toolsC38/vendors/cs/arm/arm-2007q3/bin/arm-none-linux-gnueabi-
--DSPLINK_REPO = /db/atree/library/trees/power/power-d04x/imports
--DSPLINK_BLD = Linux/OMAP3530/RELEASE
-+LINUXKERNEL_INSTALL_DIR := _your_kernel_installation_
-+MVTOOL_PREFIX := _your_codegen_installation_and_name_prefix_
-+DSPLINK_REPO := _your_dsplink_repository_
-
- # Set PROFILE to DEBUG or RELEASE
- PROFILE = RELEASE
-
- # Process DSPLINK flags
- LINK_DIR = $(DSPLINK_REPO)/dsplink
--LINK_PATH = $(LINK_DIR)/gpp/export/BIN/$(DSPLINK_BLD)
-+LINK_PATH = $(LINK_DIR)/gpp/export/BIN/Linux/OMAP3530/RELEASE
- LINK_ORIG := $(shell cat $(LINK_PATH)/DSPLINK.txt)
- LINK_DEFS := $(shell cat $(LINK_PATH)/PMGR_defines.txt)
- LINK_INCS := $(shell cat $(LINK_PATH)/PMGR_includes.txt)
-@@ -53,20 +56,11 @@
- # add internal header files
- LINK_INCS_INTERNAL = -I$(LINK_DIR)/gpp/export/INCLUDE/Linux/OMAP3530/internal
-
-+ifneq ($(wildcard $(LINK_PATH)/Module.symvers),)
-+EXTRA_SYMBOLS = $(LINK_PATH)/Module.symvers
-+endif
-
--# If KERNELRELEASE is defined, then this makefile has been invoked
--# from the kernel build system. Use native build language.
--ifneq ($(KERNELRELEASE),)
--
--obj-m := lpm_omap3530.o
--lpm_omap3530-objs := lpm_driver.o lpm_omap.o tal_dsplink_gpp.o
--
--
--# Otherwise, this makefile has been invoked directly from the
--# command line. Invoke the kernel build system.
--else
--
--MAKE_OPTS = ARCH=arm CROSS_COMPILE=$(TOOL_PREFIX)
-+MAKE_OPTS = ARCH=arm CROSS_COMPILE=$(MVTOOL_PREFIX)
- CFLAGS = -DUSE_UDEV -DOS_LINUX -DLINUX_KERNEL -D$(PROFILE) \
- $(LINK_DEFS) $(LINK_INCS) $(LINK_INCS_INTERNAL)
-
-@@ -74,19 +68,28 @@
- CFLAGS := -g $(CFLAGS)
- endif
-
--
-+# Invoke the kernel build system
- default:
-- $(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) $(MAKE_OPTS) \
-+ifneq ($(EXTRA_SYMBOLS),)
-+ rm -f Module.symvers
-+ cat $(foreach file, $(EXTRA_SYMBOLS), $(file)) >> Module.symvers
-+endif
-+ $(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) M=$(CURDIR) $(MAKE_OPTS) \
- EXTRA_CFLAGS="$(CFLAGS)" modules
-
- .clean:
-- $(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) $(MAKE_OPTS) clean
-+ $(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) M=$(CURDIR) $(MAKE_OPTS) clean
-+ rm -f modules.order
-
- .help:
-- $(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) help
-+ $(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) M=$(CURDIR) help
-
--endif
--#
--# @(#) ti.bios.power; 1, 1, 0,1; 11-5-2008 16:38:57; /db/atree/library/trees/power/power-d04x/src/
--#
-
-+# If KERNELRELEASE is defined, then this makefile has been invoked
-+# from the kernel build system. Use native build language.
-+else
-+
-+obj-m := lpm_omap3530.o
-+lpm_omap3530-objs := lpm_driver.o lpm_omap.o tal_dsplink_gpp.o
-+
-+endif
diff --git a/recipes/ti/files/sdma-class-device-and-includes-fix.patch b/recipes/ti/files/sdma-class-device-and-includes-fix.patch
deleted file mode 100644
index 2dcc7a3b7e..0000000000
--- a/recipes/ti/files/sdma-class-device-and-includes-fix.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -uNr codec_engine_2_21/cetools/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c codec_engine_2_21_fix/cetools/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
---- codec_engine_2_21/cetools/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c 2009-02-20 14:49:41.000000000 +0000
-+++ codec_engine_2_21_fix/cetools/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c 2009-02-20 15:07:59.000000000 +0000
-@@ -17,6 +17,7 @@
- /*
- * sdmak.c
- */
-+#include <linux/version.h>
- #include <linux/kernel.h>
- #include <linux/sched.h>
- #include <linux/module.h>
-@@ -32,14 +33,20 @@
- #include <linux/irq.h>
- #include <linux/highmem.h>
- #include <linux/pagemap.h>
--
--#include <asm/arch/dma.h>
- #include <asm/uaccess.h>
- #include <asm/system.h>
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
-+#include <asm/arch/dma.h>
- #include <asm/hardware.h>
- #include <asm/dma.h>
--#include <asm/io.h>
- #include <asm/arch/tc.h>
-+#else
-+#include <asm/dma.h>
-+#include <mach/hardware.h>
-+#include <mach/dma.h>
-+#include <mach/tc.h>
-+#endif
-+#include <asm/io.h>
-
- #include "../interface/sdma.h"
-
-@@ -229,7 +236,11 @@
- __D("sdma registered major = %d\n", major);
-
- dma_class = class_create(THIS_MODULE, "sdma");
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
- class_device_create(dma_class, NULL, MKDEV(major, 0), NULL, "sdma");
-+#else
-+ device_create(dma_class, NULL, MKDEV(major, 0), NULL, "sdma");
-+#endif
-
- for (channel = 0; channel < SDMA_NUMCHANNELS; channel++) {
- channels[channel].owner = NULL;
-@@ -248,7 +259,11 @@
- omap_free_dma(channel);
- }
- }
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
- class_device_destroy(dma_class, MKDEV(major, 0));
-+#else
-+ device_destroy(dma_class, MKDEV(major, 0));
-+#endif
- class_destroy(dma_class);
- unregister_chrdev(major, "sdma");
-
diff --git a/recipes/ti/files/loadmodules-ti-codec-engine-apps.sh b/recipes/ti/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh
index 9f9233d12b..9f9233d12b 100644
--- a/recipes/ti/files/loadmodules-ti-codec-engine-apps.sh
+++ b/recipes/ti/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh
diff --git a/recipes/ti/files/unloadmodules-ti-codec-engine-apps.sh b/recipes/ti/ti-codec-engine/unloadmodules-ti-codec-engine-apps.sh
index f990d99771..f990d99771 100644
--- a/recipes/ti/files/unloadmodules-ti-codec-engine-apps.sh
+++ b/recipes/ti/ti-codec-engine/unloadmodules-ti-codec-engine-apps.sh
diff --git a/recipes/ti/files/mp3dec_cs1omap3530.patch b/recipes/ti/ti-codecs-omap3530/mp3dec_cs1omap3530.patch
index 4ed9267e40..4ed9267e40 100644
--- a/recipes/ti/files/mp3dec_cs1omap3530.patch
+++ b/recipes/ti/ti-codecs-omap3530/mp3dec_cs1omap3530.patch