diff options
author | GuanXuetao <gxt@mprc.pku.edu.cn> | 2011-02-26 07:49:47 -0500 |
---|---|---|
committer | GuanXuetao <gxt@mprc.pku.edu.cn> | 2011-03-16 21:19:17 -0400 |
commit | bd42aa75b4231b5fd3742de4c4b84ad590a7d654 (patch) | |
tree | 1fdf89c7b05fbd48d2fdd3f414ae902cb8059946 /arch/unicore32/include | |
parent | 36a8b8c399480b5388ddd198ead78c9dd0e50df0 (diff) |
unicore32: rename PKUNITY_IOSPACE_BASE to PKUNITY_MMIO_BASE
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>
Diffstat (limited to 'arch/unicore32/include')
-rw-r--r-- | arch/unicore32/include/mach/PKUnity.h | 2 | ||||
-rw-r--r-- | arch/unicore32/include/mach/hardware.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/unicore32/include/mach/PKUnity.h b/arch/unicore32/include/mach/PKUnity.h index fa11eba0afd6..940e9ed0941c 100644 --- a/arch/unicore32/include/mach/PKUnity.h +++ b/arch/unicore32/include/mach/PKUnity.h | |||
@@ -21,7 +21,7 @@ | |||
21 | * Memory Definitions | 21 | * Memory Definitions |
22 | */ | 22 | */ |
23 | #define PKUNITY_SDRAM_BASE 0x00000000 /* 0x00000000 - 0x7FFFFFFF 2GB */ | 23 | #define PKUNITY_SDRAM_BASE 0x00000000 /* 0x00000000 - 0x7FFFFFFF 2GB */ |
24 | #define PKUNITY_IOSPACE_BASE 0x80000000 /* 0x80000000 - 0xFFFFFFFF 2GB */ | 24 | #define PKUNITY_MMIO_BASE 0x80000000 /* 0x80000000 - 0xFFFFFFFF 2GB */ |
25 | #define PKUNITY_PCI_BASE 0x80000000 /* 0x80000000 - 0xBFFFFFFF 1GB */ | 25 | #define PKUNITY_PCI_BASE 0x80000000 /* 0x80000000 - 0xBFFFFFFF 1GB */ |
26 | #include "regs-pci.h" | 26 | #include "regs-pci.h" |
27 | #define PKUNITY_BOOT_ROM2_BASE 0xF4000000 /* 0xF4000000 - 0xF7FFFFFF 64MB */ | 27 | #define PKUNITY_BOOT_ROM2_BASE 0xF4000000 /* 0xF4000000 - 0xF7FFFFFF 64MB */ |
diff --git a/arch/unicore32/include/mach/hardware.h b/arch/unicore32/include/mach/hardware.h index 3fb7236f8d69..c7d3dd6b4eff 100644 --- a/arch/unicore32/include/mach/hardware.h +++ b/arch/unicore32/include/mach/hardware.h | |||
@@ -17,8 +17,8 @@ | |||
17 | 17 | ||
18 | #include "PKUnity.h" | 18 | #include "PKUnity.h" |
19 | 19 | ||
20 | #define io_p2v(x) ((x) - PKUNITY_IOSPACE_BASE) | 20 | #define io_p2v(x) ((x) - PKUNITY_MMIO_BASE) |
21 | #define io_v2p(x) ((x) + PKUNITY_IOSPACE_BASE) | 21 | #define io_v2p(x) ((x) + PKUNITY_MMIO_BASE) |
22 | 22 | ||
23 | #ifndef __ASSEMBLY__ | 23 | #ifndef __ASSEMBLY__ |
24 | 24 | ||