diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-04 15:23:10 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-04 15:23:10 +0000 |
commit | c279470c06c135961bd60905e755ab4b06c10229 (patch) | |
tree | 2228db80941708e1ce07a929ea9fc9096806d27a /target/linux/coldfire/patches/022-Redefine-I-O-read-and-write-functions.patch | |
parent | df7b7e61854c0e0da9e75b4a678f0e3b196f79ea (diff) |
coldfire: R.I.P.
The target still uses 2.6.38. The support of that
kernel version has been removed ~9 months ago.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35489 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/coldfire/patches/022-Redefine-I-O-read-and-write-functions.patch')
-rw-r--r-- | target/linux/coldfire/patches/022-Redefine-I-O-read-and-write-functions.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/coldfire/patches/022-Redefine-I-O-read-and-write-functions.patch b/target/linux/coldfire/patches/022-Redefine-I-O-read-and-write-functions.patch deleted file mode 100644 index 921891bbd9..0000000000 --- a/target/linux/coldfire/patches/022-Redefine-I-O-read-and-write-functions.patch +++ /dev/null @@ -1,32 +0,0 @@ -From f8dab3ef2c0da1c50dee07142c0b8088da61bc82 Mon Sep 17 00:00:00 2001 -From: Alison Wang <b18965@freescale.com> -Date: Thu, 4 Aug 2011 09:59:45 +0800 -Subject: [PATCH 22/52] Redefine I/O read and write functions - -Redefine readb(), writeb(), readw(), writew(), readl(), write() -functions. - -Signed-off-by: Alison Wang <b18965@freescale.com> ---- - arch/m68k/include/asm/cf_io.h | 10 ++++++++++ - 1 files changed, 10 insertions(+), 0 deletions(-) - ---- a/arch/m68k/include/asm/cf_io.h -+++ b/arch/m68k/include/asm/cf_io.h -@@ -20,6 +20,16 @@ - - #include <asm-generic/iomap.h> - -+/* -+ * These should be valid on any ioremap()ed region -+ */ -+#define readb(addr) in_8(addr) -+#define writeb(val, addr) out_8((addr), (val)) -+#define readw(addr) in_le16(addr) -+#define writew(val, addr) out_le16((addr), (val)) -+#define readl(addr) in_le32(addr) -+#define writel(val, addr) out_le32((addr), (val)) -+ - #define readb_relaxed(addr) readb(addr) - #define readw_relaxed(addr) readw(addr) - #define readl_relaxed(addr) readl(addr) |