Skip to content
Snippets Groups Projects
Commit a53ef5e4 authored by Macpaul Lin's avatar Macpaul Lin
Browse files

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: default avatarMacpaul Lin <macpaul@andestech.com>
parent 466e73b1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment