video: make vidconsole commands optional
authorAnatolij Gustschin <agust@denx.de>
Mon, 25 May 2020 19:47:19 +0000 (21:47 +0200)
committerAnatolij Gustschin <agust@denx.de>
Thu, 18 Jun 2020 17:26:54 +0000 (19:26 +0200)
commit39b95556f9b97b0fa824871aef53647d6ea0b44e
treeb939c7b9b668d8b5273672cdaf2969265a9eebf9
parentffd955c4887e2bb8fd5a801e7047004fa1600c9f
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>
drivers/video/Kconfig
drivers/video/vidconsole-uclass.c