[coreboot-gerrit] Patch set updated for coreboot: soc/apollolake/acpi: Fill ACPI MCFG table

Andrey Petrov (andrey.petrov@intel.com) gerrit at coreboot.org
Fri Apr 1 07:18:33 CEST 2016


Andrey Petrov (andrey.petrov at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13375

-gerrit

commit 1e3afac7bd3f43c46bfe8f9c6817c076e39ebafa
Author: Lance Zhao <lijian.zhao at intel.com>
Date:   Mon Nov 16 18:13:23 2015 -0800

    soc/apollolake/acpi: Fill ACPI MCFG table
    
    ACPI MCFG table is required for OS to support Enhanced Configuration Space
    Access.Apollolake will only support 1 PCI Segment Group, so all the pci bus
    number from 0 to 0xff will belong to that group.
    
    Change-Id: I3a680eb9c83290cd531159d7e796382a132cd283
    Signed-off-by: Lance Zhao <lijian.zhao at intel.com>
---
 src/soc/intel/apollolake/acpi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c
index 52c6bca..ae63b59 100644
--- a/src/soc/intel/apollolake/acpi.c
+++ b/src/soc/intel/apollolake/acpi.c
@@ -20,6 +20,9 @@
 
 unsigned long acpi_fill_mcfg(unsigned long current)
 {
+	/* PCI Segment Group 0, Start Bus Number 0, End Bus Number is 255(0xff) */
+	current += acpi_create_mcfg_mmconfig((void *) current,
+			CONFIG_MMCONF_BASE_ADDRESS, 0, 0, 255);
 	return current;
 }
 



More information about the coreboot-gerrit mailing list