video: Make all video options depend on DM_VIDEO
Rather than sprinkly this file with 'depends' statements, make all options depend on DM_VIDEO. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
eaf7075528
commit
feda193c8b
@ -14,9 +14,10 @@ config DM_VIDEO
|
|||||||
option compiles in the video uclass and routes all LCD/video access
|
option compiles in the video uclass and routes all LCD/video access
|
||||||
through this.
|
through this.
|
||||||
|
|
||||||
|
if DM_VIDEO
|
||||||
|
|
||||||
config VIDEO_LOGO
|
config VIDEO_LOGO
|
||||||
bool "Show the U-Boot logo on the display"
|
bool "Show the U-Boot logo on the display"
|
||||||
depends on DM_VIDEO
|
|
||||||
default y if !SPLASH_SCREEN
|
default y if !SPLASH_SCREEN
|
||||||
select VIDEO_BMP_RLE8
|
select VIDEO_BMP_RLE8
|
||||||
help
|
help
|
||||||
@ -27,7 +28,6 @@ config VIDEO_LOGO
|
|||||||
|
|
||||||
config BACKLIGHT
|
config BACKLIGHT
|
||||||
bool "Enable panel backlight uclass support"
|
bool "Enable panel backlight uclass support"
|
||||||
depends on DM_VIDEO
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This provides backlight uclass driver that enables basic panel
|
This provides backlight uclass driver that enables basic panel
|
||||||
@ -35,7 +35,6 @@ config BACKLIGHT
|
|||||||
|
|
||||||
config VIDEO_PCI_DEFAULT_FB_SIZE
|
config VIDEO_PCI_DEFAULT_FB_SIZE
|
||||||
hex "Default framebuffer size to use if no drivers request it"
|
hex "Default framebuffer size to use if no drivers request it"
|
||||||
depends on DM_VIDEO
|
|
||||||
default 0x1000000 if X86 && PCI
|
default 0x1000000 if X86 && PCI
|
||||||
default 0 if !(X86 && PCI)
|
default 0 if !(X86 && PCI)
|
||||||
help
|
help
|
||||||
@ -54,7 +53,6 @@ config VIDEO_PCI_DEFAULT_FB_SIZE
|
|||||||
|
|
||||||
config VIDEO_COPY
|
config VIDEO_COPY
|
||||||
bool "Enable copying the frame buffer to a hardware copy"
|
bool "Enable copying the frame buffer to a hardware copy"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
On some machines (e.g. x86), reading from the frame buffer is very
|
On some machines (e.g. x86), reading from the frame buffer is very
|
||||||
slow because it is uncached. To improve performance, this feature
|
slow because it is uncached. To improve performance, this feature
|
||||||
@ -87,7 +85,6 @@ config BACKLIGHT_GPIO
|
|||||||
|
|
||||||
config VIDEO_BPP8
|
config VIDEO_BPP8
|
||||||
bool "Support 8-bit-per-pixel displays"
|
bool "Support 8-bit-per-pixel displays"
|
||||||
depends on DM_VIDEO
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Support drawing text and bitmaps onto a 8-bit-per-pixel display.
|
Support drawing text and bitmaps onto a 8-bit-per-pixel display.
|
||||||
@ -97,7 +94,6 @@ config VIDEO_BPP8
|
|||||||
|
|
||||||
config VIDEO_BPP16
|
config VIDEO_BPP16
|
||||||
bool "Support 16-bit-per-pixel displays"
|
bool "Support 16-bit-per-pixel displays"
|
||||||
depends on DM_VIDEO
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Support drawing text and bitmaps onto a 16-bit-per-pixel display.
|
Support drawing text and bitmaps onto a 16-bit-per-pixel display.
|
||||||
@ -107,7 +103,6 @@ config VIDEO_BPP16
|
|||||||
|
|
||||||
config VIDEO_BPP32
|
config VIDEO_BPP32
|
||||||
bool "Support 32-bit-per-pixel displays"
|
bool "Support 32-bit-per-pixel displays"
|
||||||
depends on DM_VIDEO
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Support drawing text and bitmaps onto a 32-bit-per-pixel display.
|
Support drawing text and bitmaps onto a 32-bit-per-pixel display.
|
||||||
@ -117,7 +112,6 @@ config VIDEO_BPP32
|
|||||||
|
|
||||||
config VIDEO_ANSI
|
config VIDEO_ANSI
|
||||||
bool "Support ANSI escape sequences in video console"
|
bool "Support ANSI escape sequences in video console"
|
||||||
depends on DM_VIDEO
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable ANSI escape sequence decoding for a more fully functional
|
Enable ANSI escape sequence decoding for a more fully functional
|
||||||
@ -125,7 +119,6 @@ config VIDEO_ANSI
|
|||||||
|
|
||||||
config VIDEO_MIPI_DSI
|
config VIDEO_MIPI_DSI
|
||||||
bool "Support MIPI DSI interface"
|
bool "Support MIPI DSI interface"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
Support MIPI DSI interface for driving a MIPI compatible device.
|
Support MIPI DSI interface for driving a MIPI compatible device.
|
||||||
The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
|
The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
|
||||||
@ -133,8 +126,7 @@ config VIDEO_MIPI_DSI
|
|||||||
|
|
||||||
config CONSOLE_NORMAL
|
config CONSOLE_NORMAL
|
||||||
bool "Support a simple text console"
|
bool "Support a simple text console"
|
||||||
depends on DM_VIDEO
|
default y
|
||||||
default y if DM_VIDEO
|
|
||||||
help
|
help
|
||||||
Support drawing text on the frame buffer console so that it can be
|
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
|
used as a console. Rotation is not supported by this driver (see
|
||||||
@ -143,7 +135,6 @@ config CONSOLE_NORMAL
|
|||||||
|
|
||||||
config CONSOLE_ROTATION
|
config CONSOLE_ROTATION
|
||||||
bool "Support rotated displays"
|
bool "Support rotated displays"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
Sometimes, for example if the display is mounted in portrait
|
Sometimes, for example if the display is mounted in portrait
|
||||||
mode or even if it's mounted landscape but rotated by 180degree,
|
mode or even if it's mounted landscape but rotated by 180degree,
|
||||||
@ -156,7 +147,6 @@ config CONSOLE_ROTATION
|
|||||||
|
|
||||||
config CONSOLE_TRUETYPE
|
config CONSOLE_TRUETYPE
|
||||||
bool "Support a console that uses TrueType fonts"
|
bool "Support a console that uses TrueType fonts"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
TrueTrype fonts can provide outline-drawing capability rather than
|
TrueTrype fonts can provide outline-drawing capability rather than
|
||||||
needing to provide a bitmap for each font and size that is needed.
|
needing to provide a bitmap for each font and size that is needed.
|
||||||
@ -210,7 +200,6 @@ config NO_FB_CLEAR
|
|||||||
|
|
||||||
config PANEL
|
config PANEL
|
||||||
bool "Enable panel uclass support"
|
bool "Enable panel uclass support"
|
||||||
depends on DM_VIDEO
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This provides panel uclass driver that enables basic panel support.
|
This provides panel uclass driver that enables basic panel support.
|
||||||
@ -237,7 +226,6 @@ source "drivers/video/fonts/Kconfig"
|
|||||||
|
|
||||||
config VIDCONSOLE_AS_LCD
|
config VIDCONSOLE_AS_LCD
|
||||||
bool "Use 'vidconsole' when CONFIG_VIDCONSOLE_AS_NAME string is seen in stdout"
|
bool "Use 'vidconsole' when CONFIG_VIDCONSOLE_AS_NAME string is seen in stdout"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
This is a work-around for boards which have 'lcd' or 'vga' in their
|
This is a work-around for boards which have 'lcd' or 'vga' in their
|
||||||
stdout environment variable, but have moved to use driver model for
|
stdout environment variable, but have moved to use driver model for
|
||||||
@ -430,7 +418,7 @@ config VIDEO_LCD_ANX9804
|
|||||||
|
|
||||||
config ATMEL_LCD
|
config ATMEL_LCD
|
||||||
bool "Atmel LCD panel support"
|
bool "Atmel LCD panel support"
|
||||||
depends on DM_VIDEO && ARCH_AT91
|
depends on ARCH_AT91
|
||||||
|
|
||||||
config ATMEL_LCD_BGR555
|
config ATMEL_LCD_BGR555
|
||||||
bool "Display in BGR555 mode"
|
bool "Display in BGR555 mode"
|
||||||
@ -447,7 +435,6 @@ config VIDEO_BCM2835
|
|||||||
|
|
||||||
config VIDEO_LCD_ORISETECH_OTM8009A
|
config VIDEO_LCD_ORISETECH_OTM8009A
|
||||||
bool "OTM8009A DSI LCD panel support"
|
bool "OTM8009A DSI LCD panel support"
|
||||||
depends on DM_VIDEO
|
|
||||||
select VIDEO_MIPI_DSI
|
select VIDEO_MIPI_DSI
|
||||||
help
|
help
|
||||||
Say Y here if you want to enable support for Orise Technology
|
Say Y here if you want to enable support for Orise Technology
|
||||||
@ -455,7 +442,6 @@ config VIDEO_LCD_ORISETECH_OTM8009A
|
|||||||
|
|
||||||
config VIDEO_LCD_RAYDIUM_RM68200
|
config VIDEO_LCD_RAYDIUM_RM68200
|
||||||
bool "RM68200 DSI LCD panel support"
|
bool "RM68200 DSI LCD panel support"
|
||||||
depends on DM_VIDEO
|
|
||||||
select VIDEO_MIPI_DSI
|
select VIDEO_MIPI_DSI
|
||||||
help
|
help
|
||||||
Say Y here if you want to enable support for Raydium RM68200
|
Say Y here if you want to enable support for Raydium RM68200
|
||||||
@ -491,7 +477,6 @@ config VIDEO_LCD_SSD2828_RESET
|
|||||||
|
|
||||||
config VIDEO_LCD_TDO_TL070WSH30
|
config VIDEO_LCD_TDO_TL070WSH30
|
||||||
bool "TDO TL070WSH30 DSI LCD panel support"
|
bool "TDO TL070WSH30 DSI LCD panel support"
|
||||||
depends on DM_VIDEO
|
|
||||||
select VIDEO_MIPI_DSI
|
select VIDEO_MIPI_DSI
|
||||||
help
|
help
|
||||||
Say Y here if you want to enable support for TDO TL070WSH30
|
Say Y here if you want to enable support for TDO TL070WSH30
|
||||||
@ -585,7 +570,6 @@ config NXP_TDA19988
|
|||||||
|
|
||||||
config ATMEL_HLCD
|
config ATMEL_HLCD
|
||||||
bool "Enable ATMEL video support using HLCDC"
|
bool "Enable ATMEL video support using HLCDC"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
HLCDC supports video output to an attached LCD panel.
|
HLCDC supports video output to an attached LCD panel.
|
||||||
|
|
||||||
@ -630,7 +614,7 @@ source "drivers/video/rockchip/Kconfig"
|
|||||||
|
|
||||||
config VIDEO_ARM_MALIDP
|
config VIDEO_ARM_MALIDP
|
||||||
bool "Enable Arm Mali Display Processor support"
|
bool "Enable Arm Mali Display Processor support"
|
||||||
depends on DM_VIDEO && OF_CONTROL
|
depends on OF_CONTROL
|
||||||
select VEXPRESS_CLK
|
select VEXPRESS_CLK
|
||||||
help
|
help
|
||||||
This enables support for Arm Ltd Mali Display Processors from
|
This enables support for Arm Ltd Mali Display Processors from
|
||||||
@ -658,7 +642,6 @@ config VIDEO_TEGRA20
|
|||||||
|
|
||||||
config VIDEO_TEGRA124
|
config VIDEO_TEGRA124
|
||||||
bool "Enable video support on Tegra124"
|
bool "Enable video support on Tegra124"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
Tegra124 supports many video output options including eDP and
|
Tegra124 supports many video output options including eDP and
|
||||||
HDMI. At present only eDP is supported by U-Boot. This option
|
HDMI. At present only eDP is supported by U-Boot. This option
|
||||||
@ -671,7 +654,6 @@ source "drivers/video/imx/Kconfig"
|
|||||||
|
|
||||||
config VIDEO_MXS
|
config VIDEO_MXS
|
||||||
bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs"
|
bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors
|
Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors
|
||||||
|
|
||||||
@ -685,14 +667,14 @@ config VIDEO_NX
|
|||||||
|
|
||||||
config VIDEO_SEPS525
|
config VIDEO_SEPS525
|
||||||
bool "Enable video support for Seps525"
|
bool "Enable video support for Seps525"
|
||||||
depends on DM_VIDEO && DM_GPIO
|
depends on DM_GPIO
|
||||||
help
|
help
|
||||||
Enable support for the Syncoam PM-OLED display driver (RGB 160x128).
|
Enable support for the Syncoam PM-OLED display driver (RGB 160x128).
|
||||||
Currently driver is supporting only SPI interface.
|
Currently driver is supporting only SPI interface.
|
||||||
|
|
||||||
config VIDEO_ZYNQMP_DPSUB
|
config VIDEO_ZYNQMP_DPSUB
|
||||||
bool "Enable video support for ZynqMP Display Port"
|
bool "Enable video support for ZynqMP Display Port"
|
||||||
depends on DM_VIDEO && ZYNQMP_POWER_DOMAIN
|
depends on ZYNQMP_POWER_DOMAIN
|
||||||
help
|
help
|
||||||
Enable support for Xilinx ZynqMP Display Port. Currently this file
|
Enable support for Xilinx ZynqMP Display Port. Currently this file
|
||||||
is used as placeholder for driver. The main reason is to record
|
is used as placeholder for driver. The main reason is to record
|
||||||
@ -702,7 +684,6 @@ source "drivers/video/nexell/Kconfig"
|
|||||||
|
|
||||||
config CONSOLE_SCROLL_LINES
|
config CONSOLE_SCROLL_LINES
|
||||||
int "Number of lines to scroll the console by"
|
int "Number of lines to scroll the console by"
|
||||||
depends on DM_VIDEO
|
|
||||||
default 1
|
default 1
|
||||||
help
|
help
|
||||||
When the console need to be scrolled, this is the number of
|
When the console need to be scrolled, this is the number of
|
||||||
@ -760,7 +741,6 @@ config VIDEO_DT_SIMPLEFB
|
|||||||
|
|
||||||
config VIDEO_MCDE_SIMPLE
|
config VIDEO_MCDE_SIMPLE
|
||||||
bool "Simple driver for ST-Ericsson MCDE with preconfigured display"
|
bool "Simple driver for ST-Ericsson MCDE with preconfigured display"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
Enables a simple display driver for ST-Ericsson MCDE
|
Enables a simple display driver for ST-Ericsson MCDE
|
||||||
(Multichannel Display Engine), which reads the configuration from
|
(Multichannel Display Engine), which reads the configuration from
|
||||||
@ -892,27 +872,25 @@ config VIDEO_LOGO_MAX_SIZE
|
|||||||
|
|
||||||
config VIDEO_BMP_RLE8
|
config VIDEO_BMP_RLE8
|
||||||
bool "Run length encoded BMP image (RLE8) support"
|
bool "Run length encoded BMP image (RLE8) support"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
If this option is set, the 8-bit RLE compressed BMP images
|
If this option is set, the 8-bit RLE compressed BMP images
|
||||||
is supported.
|
is supported.
|
||||||
|
|
||||||
config BMP_16BPP
|
config BMP_16BPP
|
||||||
bool "16-bit-per-pixel BMP image support"
|
bool "16-bit-per-pixel BMP image support"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
Support display of bitmaps file with 16-bit-per-pixel
|
Support display of bitmaps file with 16-bit-per-pixel
|
||||||
|
|
||||||
config BMP_24BPP
|
config BMP_24BPP
|
||||||
bool "24-bit-per-pixel BMP image support"
|
bool "24-bit-per-pixel BMP image support"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
Support display of bitmaps file with 24-bit-per-pixel.
|
Support display of bitmaps file with 24-bit-per-pixel.
|
||||||
|
|
||||||
config BMP_32BPP
|
config BMP_32BPP
|
||||||
bool "32-bit-per-pixel BMP image support"
|
bool "32-bit-per-pixel BMP image support"
|
||||||
depends on DM_VIDEO
|
|
||||||
help
|
help
|
||||||
Support display of bitmaps file with 32-bit-per-pixel.
|
Support display of bitmaps file with 32-bit-per-pixel.
|
||||||
|
|
||||||
|
endif # DM_VIDEO
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
Loading…
Reference in New Issue
Block a user