[coreboot-gerrit] Patch set updated for coreboot: soc/apollolake: Add set_resources for the root device

Alexandru Gagniuc (mr.nuke.me@gmail.com) gerrit at coreboot.org
Tue Jan 26 19:57:50 CET 2016


Alexandru Gagniuc (mr.nuke.me at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13355

-gerrit

commit 1e76caeebdbafc12a8571f20102d161513d8e7b9
Author: Andrey Petrov <andrey.petrov at intel.com>
Date:   Wed Nov 11 19:00:46 2015 -0800

    soc/apollolake: Add set_resources for the root device
    
    Change-Id: I4d494924d787569382b2f7c562354d94f911f857
    Signed-off-by: Andrey Petrov <andrey.petrov at intel.com>
---
 src/soc/intel/apollolake/chip.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index 34d6d3a..52b8dd4 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -16,9 +16,14 @@
 #include <device/pci.h>
 #include <fsp/api.h>
 
+static void pci_domain_set_resources(device_t dev)
+{
+       assign_resources(dev->link_list);
+}
+
 static struct device_operations pci_domain_ops = {
 	.read_resources = pci_domain_read_resources,
-	.set_resources = DEVICE_NOOP,
+	.set_resources = pci_domain_set_resources,
 	.enable_resources = NULL,
 	.init = NULL,
 	.scan_bus = pci_domain_scan_bus,



More information about the coreboot-gerrit mailing list