diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-11-30 13:30:18 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-17 09:17:27 -0500 |
commit | 3b062da326f9b37d34aa8f80bf9d2f9e74f55c86 (patch) | |
tree | 989429493da42e5ea8316b183a39af18f661ad49 /include/asm-blackfin | |
parent | 5f79644d2665763d522ef2db53c026c5f4865b02 (diff) | |
download | u-boot-imx-3b062da326f9b37d34aa8f80bf9d2f9e74f55c86.zip u-boot-imx-3b062da326f9b37d34aa8f80bf9d2f9e74f55c86.tar.gz u-boot-imx-3b062da326f9b37d34aa8f80bf9d2f9e74f55c86.tar.bz2 |
Blackfin: drop unused funcs from io.h
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r-- | include/asm-blackfin/io.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h index 6806494..354fb7d 100644 --- a/include/asm-blackfin/io.h +++ b/include/asm-blackfin/io.h @@ -147,43 +147,5 @@ static inline unsigned int readl(const volatile void *addr) #define outsw(port, addr, count) cf_outsw((unsigned short *)(port), (unsigned short *)addr, (count)) -#define IO_SPACE_LIMIT 0xffff - -/* Values for nocacheflag and cmode */ -#define IOMAP_FULL_CACHING 0 -#define IOMAP_NOCACHE_SER 1 -#define IOMAP_NOCACHE_NONSER 2 -#define IOMAP_WRITETHROUGH 3 - -extern void *__ioremap(unsigned long physaddr, unsigned long size, - int cacheflag); -extern void __iounmap(void *addr, unsigned long size); - -extern inline void *ioremap(unsigned long physaddr, unsigned long size) -{ - return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); -} -extern inline void *ioremap_nocache(unsigned long physaddr, unsigned long size) -{ - return __ioremap(physaddr, size, IOMAP_NOCACHE_SER); -} -extern inline void *ioremap_writethrough(unsigned long physaddr, - unsigned long size) -{ - return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); -} -extern inline void *ioremap_fullcache(unsigned long physaddr, - unsigned long size) -{ - return __ioremap(physaddr, size, IOMAP_FULL_CACHING); -} - -extern void iounmap(void *addr); - -extern void blkfin_inv_cache_all(void); -#define dma_cache_inv(_start, _size) do { blkfin_inv_cache_all(); } while (0) -#define dma_cache_wback(_start, _size) do { } while (0) -#define dma_cache_wback_inv(_start, _size) do { blkfin_inv_cache_all(); } while (0) - #endif #endif |