-static TPMDriverOps const *be_drivers[TPM_TYPE__MAX];
-static bool tpm_models[TPM_MODEL__MAX];
-
-void tpm_register_model(enum TpmModel model)
-{
- tpm_models[model] = true;
-}
-
-#ifdef CONFIG_TPM
-
-void tpm_register_driver(const TPMDriverOps *tdo)
-{
- assert(!be_drivers[tdo->type]);
-
- be_drivers[tdo->type] = tdo;
-}
-
-static const TPMDriverOps *
-tpm_driver_find_by_type(enum TpmType type)