sandybridge native: Add call to TPM code.

This allows to deactivate TPM on boards using native sandy/ivy init.

Change-Id: I9455179c7b51097a3a9554c16a407365fbc65e6f
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/10272
Tested-by: build bot (Jenkins)
Reviewed-by: Philipp Deppenwiese <zaolin@das-labor.org>
This commit is contained in:
Vladimir Serbinenko 2015-05-18 10:31:35 +02:00
parent 0e90dae584
commit ed54cc707b
1 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,7 @@
#include <device/pci_def.h> #include <device/pci_def.h>
#include <device/device.h> #include <device/device.h>
#include <halt.h> #include <halt.h>
#include <tpm.h>
#include "raminit_native.h" #include "raminit_native.h"
#include <northbridge/intel/sandybridge/chip.h> #include <northbridge/intel/sandybridge/chip.h>
#include "southbridge/intel/bd82x6x/pch.h" #include "southbridge/intel/bd82x6x/pch.h"
@ -129,6 +130,10 @@ void main(unsigned long bist)
northbridge_romstage_finalize(s3resume); northbridge_romstage_finalize(s3resume);
#if CONFIG_LPC_TPM
init_tpm(s3resume);
#endif
post_code(0x3f); post_code(0x3f);
timestamp_add_now(TS_END_ROMSTAGE); timestamp_add_now(TS_END_ROMSTAGE);
} }