summary refs log tree commit diff stats
path: root/hw/char/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/Kconfig')
-rw-r--r--hw/char/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/char/Kconfig b/hw/char/Kconfig
index 3f702565e6..9d517f3e28 100644
--- a/hw/char/Kconfig
+++ b/hw/char/Kconfig
@@ -11,6 +11,12 @@ config PARALLEL
 
 config PL011
     bool
+    # The PL011 has both a Rust and a C implementation
+    select PL011_C if !HAVE_RUST
+    select X_PL011_RUST if HAVE_RUST
+
+config PL011_C
+    bool
 
 config SERIAL
     bool