]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
microblaze: Use default implementation from include/linux/io.h
authorMichal Simek <michal.simek@xilinx.com>
Thu, 28 Jun 2018 08:41:56 +0000 (10:41 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:54 +0000 (10:49 +0200)
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>
arch/microblaze/include/asm/io.h

index c7516a47e8ca696e81f707f4bc903cfade14cc30..26a437c248eda6bd5b3624707f7c30860287ab34 100644 (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 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_writethrough(physaddr, size)   (physaddr)
 #define ioremap_fullcache(physaddr, size)      (physaddr)