diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-04-16 22:13:39 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-04-25 18:15:14 +0200 |
commit | 5e88c3b18ac7eef053d5285d6ad00c1bde4f1235 (patch) | |
tree | 46e8080652a1b6b68ced476d6feccc69ea00315d | |
parent | e4d7abc0d448c7e805f2b48ed1251708d1f84c67 (diff) |
device: allow devicetree accesses in postcar stage
Change-Id: Ib6f8ee937c4f3d8e2c0ff3851a819077fa499ccc
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/19334
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r-- | Makefile.inc | 1 | ||||
-rw-r--r-- | src/device/Makefile.inc | 1 |
2 files changed, 2 insertions, 0 deletions
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 |