nb/intel/sandybridge/acpi: Fix MMCONF size computation
Calculate the correct MMCONF size, which was only correct for 256MiB, but not for smaller values. Tested on HP Z220: Fixes "Not using MMCONF" warning in dmesg. Change-Id: I986681126637c28f6442ab7c34acea5bb58ea3d2 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38830 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Jonathan Kollasch <jakllsch@kollasch.net>
This commit is contained in:
parent
516f0acbb0
commit
5a62427e14
|
@ -62,7 +62,7 @@ Device (PDRC)
|
|||
XBR0 = \_SB.PCI0.MCHC.PXBR << 26
|
||||
|
||||
CreateDwordField (PDRS, ^PCIX._LEN, XSZ0)
|
||||
XSZ0 = 0x10000000 << \_SB.PCI0.MCHC.PXSZ
|
||||
XSZ0 = 0x10000000 >> \_SB.PCI0.MCHC.PXSZ
|
||||
|
||||
Return(PDRS)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue