Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/23823
Change subject: device: Include devicetree in SMM stage ......................................................................
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 --- M Makefile.inc M src/device/Makefile.inc 2 files changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/23823/1
diff --git a/Makefile.inc b/Makefile.inc index be658ef..b11f6e2 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -550,6 +550,7 @@ 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 a1d5920..af5e7a9 100644 --- a/src/device/Makefile.inc +++ b/src/device/Makefile.inc @@ -22,6 +22,7 @@
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