[PATCH 1/2] tpm: add a function that performs selftest + startup