diff options
author | Macpaul Lin <macpaul@andestech.com> | 2011-10-24 13:31:05 +0800 |
---|---|---|
committer | Macpaul Lin <macpaul@andestech.com> | 2011-11-01 12:47:30 +0800 |
commit | a53ef5e4bac750d0e84cd2b79f9f7855382b561d (patch) | |
tree | d839de88e494b90d29fda8a57713c6719e79c2a0 /tools/getline.c | |
parent | 466e73b19b34a1500303faffc4b17d849438fad0 (diff) | |
download | blackbird-obmc-uboot-a53ef5e4bac750d0e84cd2b79f9f7855382b561d.tar.gz blackbird-obmc-uboot-a53ef5e4bac750d0e84cd2b79f9f7855382b561d.zip |
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>
Diffstat (limited to 'tools/getline.c')
0 files changed, 0 insertions, 0 deletions