summaryrefslogtreecommitdiff
path: root/drivers/video/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-19 02:52:15 (GMT)
committerSimon Glass <sjg@chromium.org>2016-01-21 02:10:15 (GMT)
commit1acafc73bfc7535c185f321012ac70821471b816 (patch)
tree66ce4e2041e76e5a2fa093e916f01a17e0d19b3e /drivers/video/Makefile
parent665ac00c9842bf45aacec2b9d8bd017ad201d7f9 (diff)
downloadu-boot-1acafc73bfc7535c185f321012ac70821471b816.tar.xz
dm: video: Add a video uclass
U-Boot has separate code for LCDs and 'video' devices. Both now use a very similar API thanks to earlier work by Nikita Kiryanov. With the driver- model conversion we should unify these into a single uclass. Unfortunately there are different features supported by each. This implementation provides for a common set of features which should serve most purposes. The intent is to support: - bitmap devices with 8, 16 and 32 bits per pixel - text console wih white on black or vice versa - rotated text console - bitmap display (BMP format) More can be added as additional boards are ported over to use driver model for video. The name 'video' is chosen for the uclass since it is more generic than LCD. Another option would be 'display' but that would introduce a third concept to U-Boot which seems like the wrong approach. The existing LCD and video init functions are not needed now, so this uclass makes no attempt to implement them. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video/Makefile')
-rw-r--r--drivers/video/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index e85fd8a..7192013 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -7,6 +7,7 @@
ifdef CONFIG_DM
obj-$(CONFIG_DISPLAY_PORT) += dp-uclass.o
+obj-$(CONFIG_DM_VIDEO) += video-uclass.o
endif
obj-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o