commit | c70c9da37837632b0f8807ee410882ea8dddb5ae | [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 | 22b479e400ce19c048fa733b5e2d3e66796c0abc [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>