i386: enable rust hpet for pc when rust is enabled

Add HPET configuration in PC's Kconfig options, and select HPET device
(Rust version) if Rust is supported.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250210030051.2562726-11-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Zhao Liu 2025-02-10 11:00:51 +08:00 committed by Paolo Bonzini
parent 6e90a8f813
commit d128c341a7
6 changed files with 8 additions and 3 deletions

View file

@ -11,7 +11,7 @@ config A9_GTIMER
config HPET
bool
default y if PC
default y if PC && !HAVE_RUST
config I8254
bool