aboutsummaryrefslogtreecommitdiff
path: root/drivers/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/Kconfig')
-rw-r--r--drivers/Kconfig42
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/Kconfig b/drivers/Kconfig
new file mode 100644
index 0000000..5f33772
--- /dev/null
+++ b/drivers/Kconfig
@@ -0,0 +1,42 @@
+menu "Drivers"
+
+ menu "Video"
+ config video0_enable
+ bool "Enable video0"
+ default y
+
+ choice video0_driver
+ prompt "video0 driver"
+ depends on video0_enable
+ config video0_driver_cga
+ bool "CGA"
+ config video0_driver_vga
+ bool "VGA"
+ endchoice
+
+ config VIDEO0_CLASS
+ string "video0 class"
+ default "CGA" if video0_driver_cga
+ default "VGA" if video0_driver_vga
+ depends on video0_enable
+ config VIDEO0_CONSOLE
+ bool "use video0 for debug output"
+ default y
+ depends on video0_enable
+ endmenu
+
+ menu "Serial ports"
+ config serial0_enable
+ bool "Enable serial0"
+ default y
+
+ config SERIAL0_CLASS
+ string "serial0 class"
+ default "SerialPort"
+ depends on serial0_enable
+ config SERIAL0_CONSOLE
+ bool "Use serial0 for debug output"
+ default y
+ depends on serial0_enable
+ endmenu
+endmenu