diff mbox series

[2/2] bios_emulator: make CONFIG_BIOSEMU selectable in menuconfig

Message ID 20241103234437.25639-2-yuriz@qrv-systems.net
State New
Delegated to: Tom Rini
Headers show
Series [1/2] bios_emulator: don't select X86EMU_RAW_IO for BIOSEMU and SPL_BIOSEMU | expand

Commit Message

Yuri Zaporozhets Nov. 3, 2024, 11:44 p.m. UTC
This allows selecting BIOSEMU in "make menuconfig", and provides one-line descriptions
for all three configuration parameters in bios_emulator/Kconfig.

Signed-off-by: Yuri Zaporozhets <yuriz@qrv-systems.net>
---
 drivers/bios_emulator/Kconfig | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/drivers/bios_emulator/Kconfig b/drivers/bios_emulator/Kconfig
index 8f73d077f6..c0af4f403b 100644
--- a/drivers/bios_emulator/Kconfig
+++ b/drivers/bios_emulator/Kconfig
@@ -1,8 +1,12 @@ 
-config BIOSEMU
-	bool
+menuconfig BIOSEMU
+	bool "Enable x86 BIOS emulator (useful for running x86 video ROMs)"
+
+if BIOSEMU
 
 config SPL_BIOSEMU
-	bool
+	bool "Enable BIOSEMU in SPL"
 
 config X86EMU_RAW_IO
-	bool
+	bool "Raw I/O. This is possible only on x86 systems"
+
+endif