Move TPM code to romstage
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 3 Apr 2012 22:21:37 +0000 (00:21 +0200)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Wed, 4 Apr 2012 17:09:53 +0000 (19:09 +0200)
We want to do TPM initialization as early as possible to keep
the impact on boot time low. Therefore move it to romstage.

Change-Id: I5f2e021e0b11bd70a78ad1f05ec09802d015dd9e
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/856
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
src/pc80/Makefile.inc

index cd6ea33483508d4984b0e94eee6c4f3a1e1979fc..8ca21bf5e5817ba31c44903eea88825d41e14066 100644 (file)
@@ -4,7 +4,7 @@ ramstage-y += i8254.c
 ramstage-y += i8259.c
 ramstage-$(CONFIG_UDELAY_IO) += udelay_io.c
 ramstage-y += keyboard.c
-ramstage-$(CONFIG_TPM) += tpm.c
+romstage-$(CONFIG_TPM) += tpm.c
 
 romstage-$(CONFIG_USE_OPTION_TABLE) += mc146818rtc_early.c
 subdirs-y += vga