aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33/012-mips_add_readl_writel_be_accessors.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-09-12 21:23:47 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-09-12 21:23:47 +0000
commitdc1302fdf9eb318e81eec25d063017fe01bcc325 (patch)
tree448e40f109b5eb509e0ff7df7bb45d7c7a3a75b9 /target/linux/brcm63xx/patches-2.6.33/012-mips_add_readl_writel_be_accessors.patch
parent327ac42dcae5f418a2eed8382c74041be77638e2 (diff)
downloadupstream-dc1302fdf9eb318e81eec25d063017fe01bcc325.tar.gz
upstream-dc1302fdf9eb318e81eec25d063017fe01bcc325.tar.bz2
upstream-dc1302fdf9eb318e81eec25d063017fe01bcc325.zip
remove 2.6.33 support
SVN-Revision: 23037
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.patch19
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 71b715dcff..0000000000
--- 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
- */