CHROMIUM: tpm: cleanup TPM_ORD* macros

The command codes (ordinals) macros TPM_ORD_... are inconsistently
defined in either native byte order or TPM byte order.  This cleans
up in preparation for other CLs that need to use them in native
order.  The inconsistencies are still there in kernel 3.18, but
they are gone in kernel 4.0.

BUG=none
TEST=compiled
BRANCH=none
Signed-off-by: Luigi Semenzato <semenzato@chromium.org>

Change-Id: Ic13abe8ccb43b4d34f580b3a64ed25e7e00004f0
Reviewed-on: https://chromium-review.googlesource.com/280591
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Commit-Queue: Luigi Semenzato <semenzato@chromium.org>
Tested-by: Luigi Semenzato <semenzato@chromium.org>
1 file changed