Skip to content

Commit

Permalink
unicore32: rename PKUNITY_IOSPACE_BASE to PKUNITY_MMIO_BASE
Browse files Browse the repository at this point in the history
for the term IOSPACE normally refers to the PCI PIO space
  -- by advice with Arnd Bergmann

Signed-off-by: Guan Xuetao <[email protected]>
  • Loading branch information
gxt committed Mar 17, 2011
1 parent 36a8b8c commit bd42aa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/unicore32/include/mach/PKUnity.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions arch/unicore32/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down

0 comments on commit bd42aa7

Please sign in to comment.