summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-06 14:31:37 -0700
committerAnatolij Gustschin <agust@denx.de>2016-02-11 21:37:17 +0100
commita2931b30d287b709c09f0a4ee7c1d4c26bee69d5 (patch)
tree8f465b442d616f049d2cf457e34b4a1afcb0ef9c /drivers
parent1382648b6bef3921086abeadadbd9fbc54619ab1 (diff)
downloadu-boot-imx-a2931b30d287b709c09f0a4ee7c1d4c26bee69d5.zip
u-boot-imx-a2931b30d287b709c09f0a4ee7c1d4c26bee69d5.tar.gz
u-boot-imx-a2931b30d287b709c09f0a4ee7c1d4c26bee69d5.tar.bz2
dm: video: Add a temporary work-around for old stdout var
Boards with a saved environment may use 'lcd' in their stdout environment variable, expecting that this will enable output to the LCD. When the board moves to use driver model for video, this will no-longer work. Add a work-around to fix this. A warning messages is printed, and we will remove the work-around at the end of 2016. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index fbc5d7c..19f9429 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -91,6 +91,16 @@ config CONSOLE_TRUETYPE_SIZE
source "drivers/video/fonts/Kconfig"
+config VIDCONSOLE_AS_LCD
+ bool "Use 'vidconsole' when 'lcd' is seen in stdout"
+ depends on DM_VIDEO
+ help
+ This is a work-around for boards which have 'lcd' in their stdout
+ environment variable, but have moved to use driver model for video.
+ In this case the console will no-longer work. While it is possible
+ to update the environment, the breakage may be confusing for users.
+ This option will be removed around the end of 2016.
+
config VIDEO_VESA
bool "Enable VESA video driver support"
default n