Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38830 )
Change subject: nb/intel/sandybridge/acpi: Fix MMCONF size computation ......................................................................
nb/intel/sandybridge/acpi: Fix MMCONF size computation
Calculate the correct MMCONF size, which was only correct for 256MiB, but not for smaller values.
Change-Id: I986681126637c28f6442ab7c34acea5bb58ea3d2 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/northbridge/intel/sandybridge/acpi/sandybridge.asl 1 file changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/38830/1
diff --git a/src/northbridge/intel/sandybridge/acpi/sandybridge.asl b/src/northbridge/intel/sandybridge/acpi/sandybridge.asl index 3181fc0..cf17df0 100644 --- a/src/northbridge/intel/sandybridge/acpi/sandybridge.asl +++ b/src/northbridge/intel/sandybridge/acpi/sandybridge.asl @@ -62,7 +62,12 @@ XBR0 = _SB.PCI0.MCHC.PXBR << 26
CreateDwordField (PDRS, ^PCIX._LEN, XSZ0) - XSZ0 = 0x10000000 << _SB.PCI0.MCHC.PXSZ + If (_SB.PCI0.MCHC.PXSZ == 0) { + XSZ0 = 0x10000000 + } + If (_SB.PCI0.MCHC.PXSZ == 1) { + XSZ0 = 0x8000000 + }
Return(PDRS) }