summaryrefslogtreecommitdiffstats
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-18 19:52:17 -0700
committerSimon Glass <sjg@chromium.org>2016-01-20 19:10:15 -0700
commit83510766c90a52e58477267704fc5ca8f75c3dab (patch)
tree3ca2e70d5ccab5fc26d5b01c012c8d77112414fa /include/dm/uclass-id.h
parent6cbf5de7082fdee0bdbc3dd5fe7ac4c84cbf9f7d (diff)
downloadtalos-obmc-uboot-83510766c90a52e58477267704fc5ca8f75c3dab.tar.gz
talos-obmc-uboot-83510766c90a52e58477267704fc5ca8f75c3dab.zip
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>
Diffstat (limited to 'include/dm/uclass-id.h')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 3934375fff..a0a3a79aac 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -68,6 +68,7 @@ enum uclass_id {
UCLASS_USB_HUB, /* USB hub */
UCLASS_VIDEO, /* Video or LCD device */
UCLASS_VIDEO_BRIDGE, /* Video bridge, e.g. DisplayPort to LVDS */
+ UCLASS_VIDEO_CONSOLE, /* Text console driver for video device */
UCLASS_COUNT,
UCLASS_INVALID = -1,
OpenPOWER on IntegriCloud