[SeaBIOS] [PATCH v2 2/4] tpm: generalize init_timeout()