tpm: Clean up I2C TPM driver

Drop a lot of u-boot-isms and share common TIS API
between I2C driver and LPC driver.

BUG=none
TEST=Boot tested on pit
BRANCH=none
Signed-off-by: Stefan Reinauer <reinauer@google.com>

Change-Id: I43be8eea0acbdaef58ef256a2bc5336b83368a0e
Reviewed-on: https://chromium-review.googlesource.com/175670
Commit-Queue: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
Stefan Reinauer 2013-11-04 17:38:32 -08:00 committed by chrome-internal-fetch
commit 3fc8515b9d
12 changed files with 687 additions and 819 deletions

View file

@ -20,7 +20,7 @@
#include <types.h>
#include <console/console.h>
#include <arch/acpi.h>
#include <pc80/tpm.h>
#include <tpm.h>
#include <reset.h>
#include "chromeos.h"

View file

@ -23,7 +23,7 @@
#include <cbmem.h>
#include <console/console.h>
#include <console/vtxprintf.h>
#include <pc80/tpm.h>
#include <tpm.h>
#include <reset.h>
#include <romstage_handoff.h>
#include <rmodule.h>