Skip to content
Snippets Groups Projects
Commit 6e42e251 authored by Simon Glass's avatar Simon Glass Committed by Anatolij Gustschin
Browse files

video kconfig console_normal


Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
[agust: rebased on current master]
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent 30a1dcad
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ CONFIG_USB_STORAGE=y ...@@ -77,7 +77,7 @@ CONFIG_USB_STORAGE=y
CONFIG_USB_KEYBOARD=y CONFIG_USB_KEYBOARD=y
CONFIG_SYS_USB_EVENT_POLL=y CONFIG_SYS_USB_EVENT_POLL=y
CONFIG_DM_VIDEO=y CONFIG_DM_VIDEO=y
CONFIG_VIDEO_ROTATION=y CONFIG_CONSOLE_ROTATION=y
CONFIG_VIDEO_SANDBOX_SDL=y CONFIG_VIDEO_SANDBOX_SDL=y
CONFIG_CMD_DHRYSTONE=y CONFIG_CMD_DHRYSTONE=y
CONFIG_TPM=y CONFIG_TPM=y
......
...@@ -44,7 +44,17 @@ config VIDEO_BPP32 ...@@ -44,7 +44,17 @@ config VIDEO_BPP32
this option, such displays will not be supported and console output this option, such displays will not be supported and console output
will be empty. 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" bool "Support rotated displays"
depends on DM_VIDEO depends on DM_VIDEO
help help
......
...@@ -9,12 +9,13 @@ ifdef CONFIG_DM ...@@ -9,12 +9,13 @@ ifdef CONFIG_DM
obj-$(CONFIG_DISPLAY) += display-uclass.o obj-$(CONFIG_DISPLAY) += display-uclass.o
obj-$(CONFIG_DM_VIDEO) += backlight-uclass.o obj-$(CONFIG_DM_VIDEO) += backlight-uclass.o
obj-$(CONFIG_DM_VIDEO) += panel-uclass.o simple_panel.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 obj-$(CONFIG_DM_VIDEO) += video_bmp.o
ifdef CONFIG_DM_VIDEO ifdef CONFIG_DM_VIDEO
obj-$(CONFIG_DM_PWM) += pwm_backlight.o obj-$(CONFIG_DM_PWM) += pwm_backlight.o
endif endif
obj-$(CONFIG_VIDEO_ROTATION) += console_rotate.o obj-$(CONFIG_CONSOLE_NORMAL) += console_normal.o
obj-$(CONFIG_CONSOLE_ROTATION) += console_rotate.o
endif endif
obj-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o obj-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment