diff options
author | Wolfgang Denk <wd@denx.de> | 2012-02-13 23:13:22 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-02-13 23:13:22 +0100 |
commit | 06576b2efcf3d67797437488e90e989b8b48c9f2 (patch) | |
tree | b6dd4e3ae4d09b221ec9c36f6793ba12668d0130 /arch/blackfin/include/asm/io.h | |
parent | 9a3aae22edf1eda6326cc51c28631ca5c23b7706 (diff) | |
parent | 44f67f784889e1a27958fa3e995abe41ab925697 (diff) | |
download | talos-obmc-uboot-06576b2efcf3d67797437488e90e989b8b48c9f2.tar.gz talos-obmc-uboot-06576b2efcf3d67797437488e90e989b8b48c9f2.zip |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
* 'master' of git://git.denx.de/u-boot-blackfin:
Blackfin: pata_bfin: fix printf warning
Blackfin: bfin_nand: mark local func static
linkage.h: move from blackfin to common includes
Blackfin: br4: new board port
Blackfin: add in/out le32 variants
post: add blackfin to the post_time_ms list
Blackfin: bf537-stamp: drop board reset workaround
Blackfin: pr1: new board port
Diffstat (limited to 'arch/blackfin/include/asm/io.h')
-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 75244a0731..69f08bc7ef 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)) |