arm64/qemu_boot: add arm64 pci io memory map
and rename other pci region name to make them more readable Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
parent
b12fa7f760
commit
bf5c571098
@ -61,11 +61,14 @@
|
||||
#define CONFIG_DEVICEIO_BASEADDR 0x7000000
|
||||
#define CONFIG_DEVICEIO_SIZE MB(512)
|
||||
|
||||
#define CONFIG_DEVICEPCIE_BASEADDR 0x4010000000
|
||||
#define CONFIG_DEVICEPCIE_SIZE MB(256)
|
||||
#define CONFIG_PCI_CFG_BASEADDR 0x4010000000
|
||||
#define CONFIG_PCI_CFG_SIZE MB(256)
|
||||
|
||||
#define CONFIG_PCI_BASEADDR 0x8000000000
|
||||
#define CONFIG_PCI_SIZE GB(512)
|
||||
#define CONFIG_PCI_MEM_BASEADDR 0x8000000000
|
||||
#define CONFIG_PCI_MEM_SIZE GB(512)
|
||||
|
||||
#define CONFIG_PCI_IO_BASEADDR 0x3eff0000
|
||||
#define CONFIG_PCI_IO_SIZE KB(64)
|
||||
|
||||
#define CONFIG_LOAD_BASE 0x40280000
|
||||
|
||||
|
@ -63,13 +63,16 @@ static const struct arm_mmu_region g_mmu_regions[] =
|
||||
CONFIG_RAMBANK1_ADDR, CONFIG_RAMBANK1_SIZE,
|
||||
MT_NORMAL | MT_RW | MT_SECURE),
|
||||
|
||||
MMU_REGION_FLAT_ENTRY("PCI-E",
|
||||
CONFIG_DEVICEPCIE_BASEADDR,
|
||||
CONFIG_DEVICEPCIE_SIZE,
|
||||
MMU_REGION_FLAT_ENTRY("PCI_CFG",
|
||||
CONFIG_PCI_CFG_BASEADDR, CONFIG_PCI_CFG_SIZE,
|
||||
MT_NORMAL | MT_RW | MT_SECURE),
|
||||
|
||||
MMU_REGION_FLAT_ENTRY("PCI",
|
||||
CONFIG_PCI_BASEADDR, CONFIG_PCI_SIZE,
|
||||
MMU_REGION_FLAT_ENTRY("PCI_MEM",
|
||||
CONFIG_PCI_MEM_BASEADDR, CONFIG_PCI_MEM_SIZE,
|
||||
MT_NORMAL | MT_RW | MT_SECURE),
|
||||
|
||||
MMU_REGION_FLAT_ENTRY("PCI_IO",
|
||||
CONFIG_PCI_IO_BASEADDR, CONFIG_PCI_IO_SIZE,
|
||||
MT_NORMAL | MT_RW | MT_SECURE),
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user