commit | a53ef5e4bac750d0e84cd2b79f9f7855382b561d | [log] [tgz] |
---|---|---|
author | Macpaul Lin <macpaul@andestech.com> | Mon Oct 24 13:31:05 2011 +0800 |
committer | Macpaul Lin <macpaul@andestech.com> | Tue Nov 01 12:47:30 2011 +0800 |
tree | d839de88e494b90d29fda8a57713c6719e79c2a0 | |
parent | 466e73b19b34a1500303faffc4b17d849438fad0 [diff] |
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>