diff options
author | Simon Glass <sjg@chromium.org> | 2016-10-17 20:12:49 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-23 18:33:48 -0400 |
commit | 1e1a0fb23d0b6d80df6e3c939249eaf3bd0c42f2 (patch) | |
tree | b7427cf88d62ae9714ce13f8c989b4f999ec6473 /drivers/video | |
parent | ac8a32ff1dd68bd394a0963328a89b72c0f828f1 (diff) | |
download | u-boot-1e1a0fb23d0b6d80df6e3c939249eaf3bd0c42f2.zip u-boot-1e1a0fb23d0b6d80df6e3c939249eaf3bd0c42f2.tar.gz u-boot-1e1a0fb23d0b6d80df6e3c939249eaf3bd0c42f2.tar.bz2 |
Convert CONFIG_VGA_AS_SINGLE_DEVICE to Kconfig
This converts the following to Kconfig:
CONFIG_VGA_AS_SINGLE_DEVICE
Once we migrate to driver model for video, we should be able to drop this
option.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/Kconfig | 10 | ||||
-rw-r--r-- | drivers/video/cfb_console.c | 6 |
2 files changed, 10 insertions, 6 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 3999246..a842da6 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -493,6 +493,16 @@ config CFB_CONSOLE_ANSI erase functions and limited graphics rendition control). Normal output from U-Boot will pass through this filter. +config VGA_AS_SINGLE_DEVICE + bool "Set the video as an output-only device" + depends on CFB_CONSOLE + default y + help + If enable the framebuffer device will be initialized as an + output-only device. The Keyboard driver will not be set up. This + may be used if you have no keyboard device, or more than one + (USB Keyboard, AT Keyboard). + config VIDEO_CT69000 bool "Enable Chips & Technologies 69000 video driver" depends on VIDEO diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index ac7c402..3a8e20b 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -58,12 +58,6 @@ * info); * that fills a info buffer at i=row. * s.a: board/eltec/bab7xx. - * CONFIG_VGA_AS_SINGLE_DEVICE - If set the framebuffer device will be - * initialized as an output only device. - * The Keyboard driver will not be - * set-up. This may be used, if you have - * no or more than one Keyboard devices - * (USB Keyboard, AT Keyboard). * * CONFIG_VIDEO_SW_CURSOR: - Draws a cursor after the last * character. No blinking is provided. |