diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-11-14 11:34:09 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-11-18 21:18:30 +0800 |
commit | 7be35ddd2011b9c73e8940a368f801b1b900b610 (patch) | |
tree | df506ac1280741228696ece447d4ae014ec78610 | |
parent | 079bfc5db419337f800996f8a49fc4039392dda2 (diff) | |
download | u-boot-imx-7be35ddd2011b9c73e8940a368f801b1b900b610.zip u-boot-imx-7be35ddd2011b9c73e8940a368f801b1b900b610.tar.gz u-boot-imx-7be35ddd2011b9c73e8940a368f801b1b900b610.tar.bz2 |
nios2: dma-mapping.h: change ioremap to map_physmem
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>
-rw-r--r-- | arch/nios2/include/asm/dma-mapping.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/include/asm/dma-mapping.h b/arch/nios2/include/asm/dma-mapping.h index 1562d35..65f67bc 100644 --- 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 */ |