summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-26 22:27:57 -0600
committerTom Rini <trini@konsulko.com>2017-04-30 13:40:13 -0400
commit983b103f1cb1d2d6da039dbdcf1a85d3d2cc0cf4 (patch)
tree600b5f3437b717d7468ff3b37e2f44df6da7f46c /drivers
parent4893e34b00a6a3e44aafe40f86be6c4c10ade536 (diff)
Convert CONFIG_SYS_WHITE_ON_BLACK to Kconfig
This converts the following to Kconfig: CONFIG_SYS_WHITE_ON_BLACK Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Make this default y on various SoCs] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 19e97452bda..e29c3fcfc6d 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -89,6 +89,15 @@ config CONSOLE_TRUETYPE_SIZE
method to select the display's physical size, which would allow
U-Boot to calculate the correct font size.
+config SYS_WHITE_ON_BLACK
+ bool "Display console as white on a black background"
+ default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || TEGRA || X86
+ help
+ Normally the display is black on a white background, Enable this
+ option to invert this, i.e. white on a black background. This can be
+ better in low-light situations or to reduce eye strain in some
+ cases.
+
source "drivers/video/fonts/Kconfig"
config VIDCONSOLE_AS_LCD