summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-07-25 11:18:46 -0500
committerAaron Durbin <adurbin@chromium.org>2016-07-27 00:40:05 +0200
commit40d93494c3dcfe7850aed056e1ad9c4b285c0f5b (patch)
treefa117904c80c5b917a3a3a059f0f380406c38a86 /src/device
parent9cbc90a1f6e197258ed47bc44016640f2b1e5a31 (diff)
downloadcoreboot-40d93494c3dcfe7850aed056e1ad9c4b285c0f5b.tar.xz
device: include devicetree in bootblock stage
Allow bootblock to get access to the static device tree like other early stages. device_romstage.c was renamed to device_simple.c to better articulate the usage since it's not just being used in romstage. BUG=chrome-os-partner:55357 Change-Id: I3d63d2754c737cc738c09a3e3b3b468362fb78d1 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15837 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/device')
-rw-r--r--src/device/Makefile.inc5
-rw-r--r--src/device/device_simple.c (renamed from src/device/device_romstage.c)0
2 files changed, 3 insertions, 2 deletions
diff --git a/src/device/Makefile.inc b/src/device/Makefile.inc
index 261ed53656..232a981122 100644
--- a/src/device/Makefile.inc
+++ b/src/device/Makefile.inc
@@ -20,8 +20,9 @@ ifeq ($(CONFIG_AZALIA_PLUGIN_SUPPORT),y)
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
endif
-verstage-y += device_romstage.c
-romstage-y += device_romstage.c
+bootblock-y += device_simple.c
+verstage-y += device_simple.c
+romstage-y += device_simple.c
romstage-$(CONFIG_PCI) += pci_early.c
subdirs-y += oprom dram
diff --git a/src/device/device_romstage.c b/src/device/device_simple.c
index 828e99b75e..828e99b75e 100644
--- a/src/device/device_romstage.c
+++ b/src/device/device_simple.c