On 09/08/2011 06:49 AM, Rudolf Marek wrote:
Hi
no clue how TPM works, never played with it so far... :)
Well as far I know it is just a LPC device (if it is 1,1 device), make sure the region for that chip is decoded and enable decoding of 0xfed0_0000 (sorry do not remember right range out of my head) in chipset which is needed for special LPC cycles. That is all I know. This special cycles have something in common with SKINIT or maybe with TPM 1.2
A TPM 1.2 device has its mmio region at fed4 0000 - fed4 4fff. I am not sure whether coreboot needs to program some other hardware to enable that region but in Qemu with TPM device model SeaBIOS either did that or it 'just worked'.
Stefan
http://www.informit.com/articles/article.aspx?p=1154764&seqNum=3
Thanks Rudolf