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

Yuri Zaporozhets yuriz at qrv-systems.net
Mon Nov 4 00:44:37 CET 2024


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 at qrv-systems.net>
---
 drivers/bios_emulator/Kconfig | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

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
-- 
2.43.0



More information about the U-Boot mailing list