projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f1dde
)
Blackfin: add in/out le32 variants
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 25 Nov 2011 20:57:42 +0000
(15:57 -0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 12 Feb 2012 20:03:25 +0000
(15:03 -0500)
These are rarely used, but the post code does currently, so add small
redirect hacks for that.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/blackfin/include/asm/io.h
b/arch/blackfin/include/asm/io.h
index 75244a0731d9b741aab9528e19d9fc9b32a8d5d3..69f08bc7efb526a85f3edeab3a184944d178cb72 100644
(file)
--- a/
arch/blackfin/include/asm/io.h
+++ b/
arch/blackfin/include/asm/io.h
@@
-134,9
+134,11
@@
static inline unsigned int readl(const volatile void __iomem *addr)
#define inb(port) readb(__io(port))
#define inw(port) readw(__io(port))
#define inl(port) readl(__io(port))
+#define in_le32(port) inl(port)
#define outb(x, port) writeb(x, __io(port))
#define outw(x, port) writew(x, __io(port))
#define outl(x, port) writel(x, __io(port))
+#define out_le32(x, port) outl(x, port)
#define inb_p(port) inb(__io(port))
#define inw_p(port) inw(__io(port))