projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
079bfc5
)
nios2: dma-mapping.h: change ioremap to map_physmem
author
Thomas Chou
<thomas@wytron.com.tw>
Sat, 14 Nov 2015 03:34:09 +0000
(11:34 +0800)
committer
Thomas Chou
<thomas@wytron.com.tw>
Wed, 18 Nov 2015 13:18:30 +0000
(21:18 +0800)
Change ioremap() to map_physmem(), as it is more used in u-boot.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/nios2/include/asm/dma-mapping.h
patch
|
blob
|
history
diff --git
a/arch/nios2/include/asm/dma-mapping.h
b/arch/nios2/include/asm/dma-mapping.h
index
1562d35
..
65f67bc
100644
(file)
--- a/
arch/nios2/include/asm/dma-mapping.h
+++ b/
arch/nios2/include/asm/dma-mapping.h
@@
-19,6
+19,6
@@
static inline void *dma_alloc_coherent(size_t len, unsigned long *handle)
if (handle)
*handle = addr;
- return
ioremap(addr, len
);
+ return
map_physmem(addr, len, MAP_NOCACHE
);
}
#endif /* __ASM_NIOS2_DMA_MAPPING_H */