commit | 1e3ed59d6200eb31b554dbdcfdde62d1e3d91f0c | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | Thu Jan 07 17:36:25 2016 -0700 |
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Wed Feb 10 04:11:43 2016 +0200 |
tree | 3825151b8dd86a58a67f05736a507dad312bf93d | |
parent | 00194826e6be333083ba9ddbd6e83fb423206f8a [diff] |
tpm_crb: Drop le32_to_cpu(ioread32(..)) ioread32 and readl are defined to read from PCI style memory, ie little endian and return the result in host order. On platforms where a swap is required ioread32/readl do the swap internally (eg see ppc). Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Acked-by: Peter Huewe <peterhuewe@gmx.de>