Commit bd42aa75 authored by GuanXuetao's avatar GuanXuetao

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: default avatarGuan Xuetao <gxt@mprc.pku.edu.cn>
parent 36a8b8c3
......@@ -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 */
......
......@@ -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__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment