diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-06-28 10:41:56 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-07-19 10:49:54 +0200 |
commit | 4ab11ecaaa5f24ffef32b7606c5452b1f83e75af (patch) | |
tree | 644131dade6066f31365a2edd15e3f79790a10f8 | |
parent | 37e3a36a54755d15e36b52ee47caaf1cdfdc37aa (diff) | |
download | u-boot-4ab11ecaaa5f24ffef32b7606c5452b1f83e75af.tar.gz |
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>
-rw-r--r-- | arch/microblaze/include/asm/io.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h index c7516a47e8..26a437c248 100644 --- a/arch/microblaze/include/asm/io.h +++ b/arch/microblaze/include/asm/io.h @@ -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) |