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>
This commit is contained in:
Subrata Banik 2018-02-20 10:37:42 +05:30 committed by Patrick Georgi
parent a5baccfd03
commit 5f1da55b49
2 changed files with 2 additions and 0 deletions

View File

@ -550,6 +550,7 @@ romstage-y+=$(DEVICETREE_STATIC_C)
verstage-y+=$(DEVICETREE_STATIC_C) verstage-y+=$(DEVICETREE_STATIC_C)
bootblock-y+=$(DEVICETREE_STATIC_C) bootblock-y+=$(DEVICETREE_STATIC_C)
postcar-y+=$(DEVICETREE_STATIC_C) postcar-y+=$(DEVICETREE_STATIC_C)
smm-y+=$(DEVICETREE_STATIC_C)
####################################################################### #######################################################################
# Clean up rules # Clean up rules

View File

@ -22,6 +22,7 @@ endif
bootblock-y += device_simple.c bootblock-y += device_simple.c
postcar-y += device_simple.c postcar-y += device_simple.c
smm-y += device_simple.c
verstage-y += device_simple.c verstage-y += device_simple.c
romstage-y += device_simple.c romstage-y += device_simple.c
romstage-$(CONFIG_PCI) += pci_early.c romstage-$(CONFIG_PCI) += pci_early.c