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>
This commit is contained in:
Aaron Durbin 2017-04-16 22:13:39 -05:00
parent e4d7abc0d4
commit 5e88c3b18a
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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