diff options
author | Anatolij Gustschin <agust@denx.de> | 2020-05-25 22:47:19 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2020-06-18 20:26:54 +0300 |
commit | 39b95556f9b97b0fa824871aef53647d6ea0b44e (patch) | |
tree | b939c7b9b668d8b5273672cdaf2969265a9eebf9 /drivers/video/Kconfig | |
parent | ffd955c4887e2bb8fd5a801e7047004fa1600c9f (diff) | |
download | u-boot-39b95556f9b97b0fa824871aef53647d6ea0b44e.tar.xz |
video: make vidconsole commands optional
Converting some boards to DM_VIDEO results in build breakage due
to increased code size. Make video console specific commands
optional to reduce binary size.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r-- | drivers/video/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 38123543a5..d0e9563b77 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -35,6 +35,14 @@ config BACKLIGHT_GPIO it understands the standard device tree (leds/backlight/gpio-backlight.txt) +config CMD_VIDCONSOLE + bool "Enable vidconsole commands lcdputs and setcurs" + depends on DM_VIDEO + default y + help + Enabling this will provide 'setcurs' and 'lcdputs' commands which + support cursor positioning and drawing strings on video framebuffer. + config VIDEO_BPP8 bool "Support 8-bit-per-pixel displays" depends on DM_VIDEO |