linux/drivers/char/tpm/tpm_crb_ffa.h
Jarkko Sakkinen 89dd3695de tpm_crb_ffa: Remove unused export
Remove the export of tpm_crb_ffa_get_interface_version() as it has no
callers outside tpm_crb_ffa.

Fixes: eb93f0734e ("tpm_crb: ffa_tpm: Implement driver compliant to CRB over FF-A")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@opinsys.com>
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
2025-07-23 02:23:18 +03:00

23 lines
647 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2024 Arm Ltd.
*
* This device driver implements the TPM CRB start method
* as defined in the TPM Service Command Response Buffer
* Interface Over FF-A (DEN0138).
*/
#ifndef _TPM_CRB_FFA_H
#define _TPM_CRB_FFA_H
#if IS_REACHABLE(CONFIG_TCG_ARM_CRB_FFA)
int tpm_crb_ffa_init(void);
int tpm_crb_ffa_start(int request_type, int locality);
#else
static inline int tpm_crb_ffa_init(void) { return 0; }
static inline int tpm_crb_ffa_start(int request_type, int locality) { return 0; }
#endif
#define CRB_FFA_START_TYPE_COMMAND 0
#define CRB_FFA_START_TYPE_LOCALITY_REQUEST 1
#endif