Commit 520bab80 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen

avr32: Implement {read,write}[bwl]_be

Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
parent 300bb762
...@@ -160,6 +160,14 @@ BUILDIO_IOPORT(l, u32) ...@@ -160,6 +160,14 @@ BUILDIO_IOPORT(l, u32)
#define readw_relaxed readw #define readw_relaxed readw
#define readl_relaxed readl #define readl_relaxed readl
#define readb_be __raw_readb
#define readw_be __raw_readw
#define readl_be __raw_readl
#define writeb_be __raw_writeb
#define writew_be __raw_writew
#define writel_be __raw_writel
#define __BUILD_MEMORY_STRING(bwl, type) \ #define __BUILD_MEMORY_STRING(bwl, type) \
static inline void writes##bwl(volatile void __iomem *addr, \ static inline void writes##bwl(volatile void __iomem *addr, \
const void *data, unsigned int count) \ const void *data, unsigned int count) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment