From 6e42e251964d79117f4b3d16a2352083037a251c Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 22 Jan 2016 21:53:37 +0100 Subject: video kconfig console_normal Signed-off-by: Simon Glass [agust: rebased on current master] Signed-off-by: Anatolij Gustschin --- drivers/video/Kconfig | 12 +++++++++++- drivers/video/Makefile | 5 +++-- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'drivers/video') diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index f54631c..d91b06b 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -44,7 +44,17 @@ config VIDEO_BPP32 this option, such displays will not be supported and console output will be empty. -config VIDEO_ROTATION +config CONSOLE_NORMAL + bool "Support a simple text console" + depends on DM_VIDEO + default y if DM_VIDEO + help + Support drawing text on the frame buffer console so that it can be + used as a console. Rotation is not supported by this driver (see + CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used + for the display. + +config CONSOLE_ROTATION bool "Support rotated displays" depends on DM_VIDEO help diff --git a/drivers/video/Makefile b/drivers/video/Makefile index be908f6..4d845d6 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -9,12 +9,13 @@ ifdef CONFIG_DM obj-$(CONFIG_DISPLAY) += display-uclass.o obj-$(CONFIG_DM_VIDEO) += backlight-uclass.o obj-$(CONFIG_DM_VIDEO) += panel-uclass.o simple_panel.o -obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o console_normal.o +obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o obj-$(CONFIG_DM_VIDEO) += video_bmp.o ifdef CONFIG_DM_VIDEO obj-$(CONFIG_DM_PWM) += pwm_backlight.o endif -obj-$(CONFIG_VIDEO_ROTATION) += console_rotate.o +obj-$(CONFIG_CONSOLE_NORMAL) += console_normal.o +obj-$(CONFIG_CONSOLE_ROTATION) += console_rotate.o endif obj-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o -- cgit v1.1