diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-25 15:57:42 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-12 15:03:25 -0500 |
commit | dae2242adae03231551b14f6dfda776d9b4d6ed2 (patch) | |
tree | 7441ed97eb5131f7285af5ab4c2d8cf36e0e6dec | |
parent | 23f1dded5e1fd5141119bc1072c48847c4ba622b (diff) | |
download | u-boot-imx-dae2242adae03231551b14f6dfda776d9b4d6ed2.zip u-boot-imx-dae2242adae03231551b14f6dfda776d9b4d6ed2.tar.gz u-boot-imx-dae2242adae03231551b14f6dfda776d9b4d6ed2.tar.bz2 |
Blackfin: add in/out le32 variants
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>
-rw-r--r-- | arch/blackfin/include/asm/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/io.h b/arch/blackfin/include/asm/io.h index 75244a0..69f08bc 100644 --- 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)) |