From 5e88c3b18ac7eef053d5285d6ad00c1bde4f1235 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Sun, 16 Apr 2017 22:13:39 -0500 Subject: device: allow devicetree accesses in postcar stage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib6f8ee937c4f3d8e2c0ff3851a819077fa499ccc Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/19334 Reviewed-by: Duncan Laurie Reviewed-by: Philippe Mathieu-Daudé Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- Makefile.inc | 1 + src/device/Makefile.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.inc b/Makefile.inc index 98f6af6e35..1e65228841 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -526,6 +526,7 @@ ramstage-y+=$(DEVICETREE_STATIC_C) romstage-y+=$(DEVICETREE_STATIC_C) verstage-y+=$(DEVICETREE_STATIC_C) bootblock-y+=$(DEVICETREE_STATIC_C) +postcar-y+=$(DEVICETREE_STATIC_C) ####################################################################### # Clean up rules diff --git a/src/device/Makefile.inc b/src/device/Makefile.inc index 232a981122..8e6bf5be60 100644 --- a/src/device/Makefile.inc +++ b/src/device/Makefile.inc @@ -21,6 +21,7 @@ ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c endif bootblock-y += device_simple.c +postcar-y += device_simple.c verstage-y += device_simple.c romstage-y += device_simple.c romstage-$(CONFIG_PCI) += pci_early.c -- cgit v1.2.3