[coreboot-gerrit] Change in coreboot[master]: device: Include devicetree in SMM stage

Subrata Banik (Code Review) gerrit at coreboot.org
Tue Feb 20 07:51:50 CET 2018


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

-- 
To view, visit https://review.coreboot.org/23823
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I59537c16f0a459e48d8b1efb5c1b196302f13381
Gerrit-Change-Number: 23823
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180220/f2665e79/attachment-0001.html>


More information about the coreboot-gerrit mailing list