]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
nds32: asm/io.h: add __iormb __iowmb and inline io support
authorMacpaul Lin <macpaul@andestech.com>
Mon, 24 Oct 2011 05:31:05 +0000 (13:31 +0800)
committerMacpaul Lin <macpaul@andestech.com>
Tue, 1 Nov 2011 04:47:30 +0000 (12:47 +0800)
commita53ef5e4bac750d0e84cd2b79f9f7855382b561d
treed839de88e494b90d29fda8a57713c6719e79c2a0
parent466e73b19b34a1500303faffc4b17d849438fad0
nds32: asm/io.h: add __iormb __iowmb and inline io support

1. This patch add required __iormb and __iowmb to io.h.
   This also fix some misbehavior to periphal drivers.
   This io.h has been fixed with referencing arm/include/asm/io.h.
2. This patch replaced macro writeb and readb into inline function.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
arch/nds32/include/asm/io.h