From 0042447fb99175be322d409c6aef3e1d7e3c01ed Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Wed, 4 Dec 2024 16:07:25 +0800 Subject: [PATCH] devices: Disable tpm module for riscv64 TPM support on RISC-V is not scheduled in this stage, we will come back when it's ready and we have workloads to verify it on RISC-V. Signed-off-by: Ruoqing He --- devices/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devices/src/lib.rs b/devices/src/lib.rs index 5778a1e65..6ea4bc70b 100644 --- a/devices/src/lib.rs +++ b/devices/src/lib.rs @@ -28,6 +28,8 @@ pub mod legacy; #[cfg(feature = "pvmemcontrol")] pub mod pvmemcontrol; pub mod pvpanic; +// TODO: TPM is not yet supported +#[cfg(not(target_arch = "riscv64"))] pub mod tpm; pub use self::acpi::{AcpiGedDevice, AcpiPmTimerDevice, AcpiShutdownDevice};