[coreboot-gerrit] New patch to review for coreboot: soc/apollolake: Add set_resources for the root device
Andrey Petrov (andrey.petrov@intel.com)
gerrit at coreboot.org
Sun Jan 24 03:33:31 CET 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/13355
-gerrit
commit 036943bbf4851482044bfe9865314f48740abbc0
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