From b1322ac720b4a04175dae0e60e627e81e19f1cb9 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 21 Feb 2021 18:11:26 +0200 Subject: Kconfig --- drivers/Kconfig | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 drivers/Kconfig (limited to 'drivers/Kconfig') 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 -- cgit v1.2.1