unicore32: rename PKUNITY_IOSPACE_BASE to PKUNITY_MMIO_BASE
authorGuanXuetao <gxt@mprc.pku.edu.cn>
Sat, 26 Feb 2011 12:49:47 +0000 (20:49 +0800)
committerGuanXuetao <gxt@mprc.pku.edu.cn>
Thu, 17 Mar 2011 01:19:17 +0000 (09:19 +0800)
for the term IOSPACE normally refers to the PCI PIO space
  -- by advice with Arnd Bergmann

Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
arch/unicore32/include/mach/PKUnity.h
arch/unicore32/include/mach/hardware.h

index fa11eba0afd61aa772593deea649950380e0ebac..940e9ed0941cae20b51e4bf5c2ecb11e248d6e3c 100644 (file)
@@ -21,7 +21,7 @@
  * Memory Definitions
  */
 #define PKUNITY_SDRAM_BASE             0x00000000 /* 0x00000000 - 0x7FFFFFFF 2GB */
-#define PKUNITY_IOSPACE_BASE            0x80000000 /* 0x80000000 - 0xFFFFFFFF 2GB */
+#define PKUNITY_MMIO_BASE              0x80000000 /* 0x80000000 - 0xFFFFFFFF 2GB */
 #define PKUNITY_PCI_BASE               0x80000000 /* 0x80000000 - 0xBFFFFFFF 1GB */
 #include "regs-pci.h"
 #define PKUNITY_BOOT_ROM2_BASE         0xF4000000 /* 0xF4000000 - 0xF7FFFFFF 64MB */
index 3fb7236f8d693d10c67af498cf9778a2350261b5..c7d3dd6b4effa3ca0f328ab04e2b0889c539fab2 100644 (file)
@@ -17,8 +17,8 @@
 
 #include "PKUnity.h"
 
-#define io_p2v(x)      ((x) - PKUNITY_IOSPACE_BASE)
-#define io_v2p(x)      ((x) + PKUNITY_IOSPACE_BASE)
+#define io_p2v(x)      ((x) - PKUNITY_MMIO_BASE)
+#define io_v2p(x)      ((x) + PKUNITY_MMIO_BASE)
 
 #ifndef __ASSEMBLY__