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:
Michal Simek 2018-06-28 10:41:56 +02:00
parent 37e3a36a54
commit 4ab11ecaaa

View File

@ -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)