diff options
author | Kylene Jo Hall <kjhall@us.ibm.com> | 2005-11-14 00:07:41 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-14 02:14:17 (GMT) |
commit | ad5ea3cc5f745aef243ade0dafc8cf6f7f0bfea7 (patch) | |
tree | f4d2e4b39df27db5120bef6187d344d2edc05d37 /drivers/char/tpm/tpm.h | |
parent | c0131c143204ee0ba00592c016f20ce6fc67827d (diff) | |
download | linux-fsl-qoriq-ad5ea3cc5f745aef243ade0dafc8cf6f7f0bfea7.tar.xz |
[PATCH] tpm: updates for new hardware
This is the patch to support TPMs on power ppc hardware. It has been
reworked as requested to remove the need for messing with the io page mask
by just using ioremap.
Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r-- | drivers/char/tpm/tpm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 9293bcc..ad51c65 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -50,7 +50,11 @@ struct tpm_vendor_specific { u8 req_complete_mask; u8 req_complete_val; u8 req_canceled; - u16 base; /* TPM base address */ + void __iomem *iobase; /* ioremapped address */ + unsigned long base; /* TPM base address */ + + int region_size; + int have_region; int (*recv) (struct tpm_chip *, u8 *, size_t); int (*send) (struct tpm_chip *, u8 *, size_t); |