diff options
author | John Crispin <blogic@openwrt.org> | 2011-10-10 15:13:46 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2011-10-10 15:13:46 +0000 |
commit | 4cc422e0f3860fbe49957352cfb7cd61e5e884d3 (patch) | |
tree | 0f8c817f0dfc9ae67a7e62306b3070c4b4c8f1c0 /target/linux/lantiq/patches-3.0/030-lmo-queue.patch | |
parent | 4f21c56812d340411d24db0a330beac3db9a0bd8 (diff) | |
download | upstream-4cc422e0f3860fbe49957352cfb7cd61e5e884d3.tar.gz upstream-4cc422e0f3860fbe49957352cfb7cd61e5e884d3.tar.bz2 upstream-4cc422e0f3860fbe49957352cfb7cd61e5e884d3.zip |
[lantiq]
* update patches to 3.0
* add basic vr9 support
* backport 3.1 fixes
* backport 3.2 queue (falcon)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28405 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.0/030-lmo-queue.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.0/030-lmo-queue.patch | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/target/linux/lantiq/patches-3.0/030-lmo-queue.patch b/target/linux/lantiq/patches-3.0/030-lmo-queue.patch deleted file mode 100644 index 2cb1d08231..0000000000 --- a/target/linux/lantiq/patches-3.0/030-lmo-queue.patch +++ /dev/null @@ -1,71 +0,0 @@ ---- a/drivers/mtd/maps/lantiq-flash.c -+++ b/drivers/mtd/maps/lantiq-flash.c -@@ -20,6 +20,8 @@ - #include <linux/platform_device.h> - #include <linux/mtd/physmap.h> - -+#include "../mtdcore.h" -+ - #include <lantiq_soc.h> - #include <lantiq_platform.h> - ---- a/arch/mips/lantiq/clk.c -+++ b/arch/mips/lantiq/clk.c -@@ -100,6 +100,17 @@ void clk_put(struct clk *clk) - } - EXPORT_SYMBOL(clk_put); - -+int clk_enable(struct clk *clk) -+{ -+ /* clocks are always enabled*/ -+ return 0; -+} -+ -+void clk_disable(struct clk *clk) -+{ -+ /* clocks are always enabled*/ -+} -+ - static inline u32 ltq_get_counter_resolution(void) - { - u32 res; ---- a/arch/mips/lantiq/irq.c -+++ b/arch/mips/lantiq/irq.c -@@ -9,6 +9,7 @@ - - #include <linux/interrupt.h> - #include <linux/ioport.h> -+#include <linux/module.h> - - #include <asm/bootinfo.h> - #include <asm/irq_cpu.h> -@@ -99,6 +100,7 @@ void ltq_mask_and_ack_irq(struct irq_dat - ltq_icu_w32(ltq_icu_r32(ier) & ~(1 << irq_nr), ier); - ltq_icu_w32((1 << irq_nr), isr); - } -+EXPORT_SYMBOL(ltq_mask_and_ack_irq); - - static void ltq_ack_irq(struct irq_data *d) - { ---- a/arch/mips/lantiq/setup.c -+++ b/arch/mips/lantiq/setup.c -@@ -18,6 +18,8 @@ - #include "devices.h" - #include "prom.h" - -+unsigned long physical_memsize = 0L; -+ - void __init plat_mem_setup(void) - { - /* assume 16M as default incase uboot fails to pass proper ramsize */ -@@ -40,8 +42,8 @@ void __init plat_mem_setup(void) - } - envp++; - } -- memsize *= 1024 * 1024; -- add_memory_region(0x00000000, memsize, BOOT_MEM_RAM); -+ physical_memsize = memsize * 1024 * 1024; -+ add_memory_region(0x00000000, physical_memsize, BOOT_MEM_RAM); - } - - static int __init |