dm: video: Add a uclass for the text console
authorSimon Glass <sjg@chromium.org>
Tue, 19 Jan 2016 02:52:17 +0000 (19:52 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 02:10:15 +0000 (19:10 -0700)
commit83510766c90a52e58477267704fc5ca8f75c3dab
tree3ca2e70d5ccab5fc26d5b01c012c8d77112414fa
parent6cbf5de7082fdee0bdbc3dd5fe7ac4c84cbf9f7d
dm: video: Add a uclass for the text console

The existing LCD/video interface suffers from conflating the bitmap display
with text output on that display. As a result the implementation is more
complex than it needs to me.

We can support multiple text console drivers. Create a separate uclass to
support this, with its own API.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
drivers/video/Makefile
drivers/video/vidconsole-uclass.c [new file with mode: 0644]
drivers/video/video-uclass.c
include/dm/uclass-id.h
include/video_console.h [new file with mode: 0644]