mb/emulation/qemu-aarch64/include: Update ECAM comment
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: I5864cb742ba8e7be54f67c234766cd8a5272f8e2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/86872 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
2c623c17fb
commit
dcd07b37d5
2 changed files with 4 additions and 3 deletions
|
|
@ -41,7 +41,8 @@
|
|||
* base_memmap entries (VIRT_HIGH_GIC_REDIST2 index is greater than the last
|
||||
* index of base_memmap).
|
||||
*/
|
||||
#define VIRT_PCIE_ECAM_BASE 0x4010000000 /* The one in lower memory does not seem to work */
|
||||
#define VIRT_PCIE_LOW_ECAM_BASE 0x3f000000 /* only used if highmem-ecam=off (QEMU cmdline) */
|
||||
#define VIRT_PCIE_HIGH_ECAM_BASE 0x4010000000 /* only used if highmem-ecam=on (default) */
|
||||
#define VIRT_PCIE_ECAM_SIZE (256 * MiB)
|
||||
#define VIRT_PCIE_HIGH_MMIO_BASE 0x8000000000ULL
|
||||
#define VIRT_PCIE_HIGH_MMIO_BASE 0x8000000000ULL
|
||||
#define VIRT_PCIE_HIGH_MMIO_LIMIT 0xffffffffffULL
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ static void qemu_aarch64_domain_read_resources(struct device *dev)
|
|||
res->limit = VIRT_PCIE_HIGH_MMIO_LIMIT;
|
||||
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED;
|
||||
|
||||
mmio_range(dev, index++, VIRT_PCIE_ECAM_BASE, VIRT_PCIE_ECAM_SIZE);
|
||||
mmio_range(dev, index++, VIRT_PCIE_HIGH_ECAM_BASE, VIRT_PCIE_ECAM_SIZE);
|
||||
|
||||
ram_from_to(dev, index++, (uintptr_t)_dram, cbmem_top());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue