pc80/tpm: allow for cache-as-ram migration
authorAaron Durbin <adurbin@chromium.org>
Fri, 10 May 2013 05:40:56 +0000 (00:40 -0500)
committerAaron Durbin <adurbin@google.com>
Wed, 15 May 2013 23:29:59 +0000 (01:29 +0200)
commitcb997d3710900d5950d244edd607e25bb45ea962
tree531969eab4fc936c97bf1909605031548d056def
parent716738a6b84535f731ee9749f161505945eab93c
pc80/tpm: allow for cache-as-ram migration

As the TPM driver can be accessed in romstage after
cache-as-ram is torn down use the cache-as-ram migration
API to dynamically determine the global variable address.

Change-Id: I149d7c130bc3677ed52282095670c07a76c34439
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/3233
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/drivers/pc80/tpm.c