[PATCH 2 of 2] tpm: updates for new hardware

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Nov 15 11:17:07 EST 2005


> Why don't you use ioread8() instead of defining atmel_getb()?
> 
> You'd still need something PPC64-specific to initialize the iomem cookie,
> but the accessors would go away.
> 
> Unfortunately, ioread8() and associated interfaces aren't mentioned
> under Documentation/, but there are some hints in lib/iomap.c.

Yes, I was about to reply the same thing :)

Ben.





More information about the Linuxppc64-dev mailing list