summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2018-02-20 10:37:42 +0530
committerPatrick Georgi <pgeorgi@google.com>2018-02-22 09:55:19 +0000
commit5f1da55b49ab99c59acdafadb37476ad84475745 (patch)
tree0318334406a9b7016458ddd4c39b0c28c2980fb2
parenta5baccfd03c5ed72662afc88338a8fadf0e1cad0 (diff)
device: Include devicetree in SMM stage
Allow bootblock to get access to the entire static device tree as other stages can access independently. TEST=SMM code now can access devicetree.cb variables. Change-Id: I59537c16f0a459e48d8b1efb5c1b196302f13381 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/23823 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--Makefile.inc1
-rw-r--r--src/device/Makefile.inc1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index be658efdeb..b11f6e231e 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -550,6 +550,7 @@ romstage-y+=$(DEVICETREE_STATIC_C)
verstage-y+=$(DEVICETREE_STATIC_C)
bootblock-y+=$(DEVICETREE_STATIC_C)
postcar-y+=$(DEVICETREE_STATIC_C)
+smm-y+=$(DEVICETREE_STATIC_C)
#######################################################################
# Clean up rules
diff --git a/src/device/Makefile.inc b/src/device/Makefile.inc
index a1d592051b..af5e7a9401 100644
--- a/src/device/Makefile.inc
+++ b/src/device/Makefile.inc
@@ -22,6 +22,7 @@ endif
bootblock-y += device_simple.c
postcar-y += device_simple.c
+smm-y += device_simple.c
verstage-y += device_simple.c
romstage-y += device_simple.c
romstage-$(CONFIG_PCI) += pci_early.c