[U-Boot] [PATCH v2] nds32: asm/io.h: add __iormb __iowmb and inline io support

馬克泡 macpaul at gmail.com
Tue Nov 1 05:37:53 CET 2011


Hi Macpaul,

2011/10/25 Macpaul Lin <macpaul at andestech.com>:
> 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 at 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


More information about the U-Boot mailing list