summaryrefslogtreecommitdiffstats
path: root/src/cpu/x86/smm/Makefile.inc
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-02-13 10:26:18 -0600
committerAaron Durbin <adurbin@google.com>2014-02-16 20:42:07 +0100
commitb4b9eb399ef2f5539afce6e43b49d4cf1613ae9e (patch)
tree363bfb9ef15b247fbc9f1de2aca8941422acba4e /src/cpu/x86/smm/Makefile.inc
parentaf5ca44784618aec5474991ac50adc3c73020f45 (diff)
downloadcoreboot-b4b9eb399ef2f5539afce6e43b49d4cf1613ae9e.tar.gz
coreboot-b4b9eb399ef2f5539afce6e43b49d4cf1613ae9e.tar.bz2
coreboot-b4b9eb399ef2f5539afce6e43b49d4cf1613ae9e.zip
x86: provide infrastructure to backup default SMM region
Certain CPUs require the default SMM region to be backed up on resume after a suspend. The reason is that in order to relocate the SMM region the default SMM region has to be used. As coreboot is unaware of how that memory is used it needs to be backed up. Therefore provide a common method for doing this. Change-Id: I65fe1317dc0b2203cb29118564fdba995770ffea Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/5216 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/cpu/x86/smm/Makefile.inc')
-rw-r--r--src/cpu/x86/smm/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/x86/smm/Makefile.inc b/src/cpu/x86/smm/Makefile.inc
index b595a3692407..8dcd130117d0 100644
--- a/src/cpu/x86/smm/Makefile.inc
+++ b/src/cpu/x86/smm/Makefile.inc
@@ -17,6 +17,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+ramstage-$(CONFIG_BACKUP_DEFAULT_SMM_REGION) += backup_default_smm.c
+
ifeq ($(CONFIG_SMM_MODULES),y)
smmstub-y += smm_stub.S
smmstub-y += smm_module_header.c