From 523e90f9c7b749b6a6131557df88e8e645f98aa8 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Mon, 5 Sep 2016 02:32:40 +1000 Subject: [PATCH] nb/intel/x4x: Increase MMIO PCI space to 2GiB This is necessary for PCI express graphics card add-ons, otherwise the pci allocator cannot fit the mmio for the add on card into the space it has available and the OS turns off the card. Old value was 1GiB. Change-Id: I606994501b15e636fe209d1ed4b3d3f73b42bf5c Signed-off-by: Damien Zammit Reviewed-on: https://review.coreboot.org/16494 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Aaron Durbin --- src/northbridge/intel/x4x/raminit_ddr2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/x4x/raminit_ddr2.c b/src/northbridge/intel/x4x/raminit_ddr2.c index 352e71c1e4..cd5b3b2817 100644 --- a/src/northbridge/intel/x4x/raminit_ddr2.c +++ b/src/northbridge/intel/x4x/raminit_ddr2.c @@ -1633,7 +1633,7 @@ static void mmap_ddr2(struct sysinfo *s) gfxsize = ggc2uma[(ggc & 0xf0) >> 4]; gttsize = ggc2gtt[(ggc & 0xf00) >> 8]; tsegsize = 1; // 1MB TSEG - mmiosize = 0x400; // 1GB MMIO + mmiosize = 0x800; // 2GB MMIO tom = s->channel_capacity[0] + s->channel_capacity[1] - ME_UMA_SIZEMB; tolud = MIN(0x1000 - mmiosize, tom);