mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: 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. BUG=None BRANCH=None TEST=None Signed-off-by: Damien Zammit <damien@zamaudio.com> Reviewed-on: https://review.coreboot.org/16494 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Change-Id: I606994501b15e636fe209d1ed4b3d3f73b42bf5c Reviewed-on: https://chromium-review.googlesource.com/382089 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
0f717aff4c
commit
b9d9e70970
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue