
1 Nov
2011
1 Nov
'11
5:37 a.m.
Hi Macpaul,
2011/10/25 Macpaul Lin macpaul@andestech.com:
- 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
Changes for v2: - translate writeb macro into inline function.
arch/nds32/include/asm/io.h | 72 +++++++++++++++++++++++++++++++------------ 1 files changed, 52 insertions(+), 20 deletions(-)
Applied to u-boot-nds32/master, thanks.
Best regards, Macpaul Lin