mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
23f1dded5e
commit
dae2242ada
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue