microblaze: Use default implementation from include/linux/io.h
There is no reason not to use default ioremap/iounmap io functions. The patch remove Microblaze macros. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
37e3a36a54
commit
4ab11ecaaa
@ -120,9 +120,6 @@ io_outsl (unsigned long port, const void *src, unsigned long count)
|
|||||||
#define insw(a,b,l) io_insw(a,b,l)
|
#define insw(a,b,l) io_insw(a,b,l)
|
||||||
#define insl(a,b,l) io_insl(a,b,l)
|
#define insl(a,b,l) io_insl(a,b,l)
|
||||||
|
|
||||||
|
|
||||||
#define iounmap(addr) ((void)0)
|
|
||||||
#define ioremap(physaddr, size) (physaddr)
|
|
||||||
#define ioremap_nocache(physaddr, size) (physaddr)
|
#define ioremap_nocache(physaddr, size) (physaddr)
|
||||||
#define ioremap_writethrough(physaddr, size) (physaddr)
|
#define ioremap_writethrough(physaddr, size) (physaddr)
|
||||||
#define ioremap_fullcache(physaddr, size) (physaddr)
|
#define ioremap_fullcache(physaddr, size) (physaddr)
|
||||||
|
Loading…
Reference in New Issue
Block a user