diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-09-12 21:23:47 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-09-12 21:23:47 +0000 |
commit | 897a534e8b5fe7ef1d6b8eaee3b57eb7d637e1de (patch) | |
tree | 7790aef95e740e695393d68f40d04738e1f59b81 /target/linux/brcm63xx/patches-2.6.33/012-mips_add_readl_writel_be_accessors.patch | |
parent | a8120eb0bcac593bb469c7adeedc10116b5b9a40 (diff) |
[brcm63xx] remove 2.6.33 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23037 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/012-mips_add_readl_writel_be_accessors.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.33/012-mips_add_readl_writel_be_accessors.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/012-mips_add_readl_writel_be_accessors.patch b/target/linux/brcm63xx/patches-2.6.33/012-mips_add_readl_writel_be_accessors.patch deleted file mode 100644 index 71b715dcf..000000000 --- a/target/linux/brcm63xx/patches-2.6.33/012-mips_add_readl_writel_be_accessors.patch +++ /dev/null @@ -1,19 +0,0 @@ -MIPS currently lacks the readl_be and writel_be accessors -which are required by BCM63xx for OHCI and EHCI support. -Let's define them globally for MIPS. This also fixes the -compilation of the bcm63xx defconfig against USB. - -Signed-off-by: Florian Fainelli <ffainelli@freebox.fr> ---- ---- a/arch/mips/include/asm/io.h -+++ b/arch/mips/include/asm/io.h -@@ -447,6 +447,9 @@ __BUILDIO(q, u64) - #define readl_relaxed readl - #define readq_relaxed readq - -+#define readl_be(addr) be32_to_cpu(__raw_readl((__force unsigned *)(addr))) -+#define writel_be(val, addr) __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr)) -+ - /* - * Some code tests for these symbols - */ |