video: atmel: Drop pre-DM parts of video driver
[platform/kernel/u-boot.git] / drivers / video / Kconfig
index 4ecc158..b537b36 100644 (file)
@@ -85,14 +85,6 @@ config BACKLIGHT_GPIO
          it understands the standard device tree
          (leds/backlight/gpio-backlight.txt)
 
-config CMD_VIDCONSOLE
-       bool "Enable vidconsole commands lcdputs and setcurs"
-       depends on DM_VIDEO
-       default y
-       help
-         Enabling this will provide 'setcurs' and 'lcdputs' commands which
-         support cursor positioning and drawing strings on video framebuffer.
-
 config VIDEO_BPP8
        bool "Support 8-bit-per-pixel displays"
        depends on DM_VIDEO
@@ -171,16 +163,6 @@ config CONSOLE_TRUETYPE
          With this option you can adjust the text size and use a variety of
          fonts. Note that this is noticeably slower than with normal console.
 
-config DM_PANEL_HX8238D
-       bool "Enable Himax HX-8238D LCD driver"
-       depends on DM_VIDEO
-       help
-         Support for HX-8238D LCD Panel
-         The  HX8238-D is a single chip controller and driver LSI that
-         integrates the power circuit.
-         It can drive a maximum 960x240 dot graphics on a-TFT panel
-         displays in 16M colors with dithering.
-
 config CONSOLE_TRUETYPE_SIZE
        int "TrueType font size"
        depends on CONSOLE_TRUETYPE
@@ -194,6 +176,21 @@ config CONSOLE_TRUETYPE_SIZE
          method to select the display's physical size, which would allow
          U-Boot to calculate the correct font size.
 
+config CONSOLE_TRUETYPE_MAX_METRICS
+       int "TrueType maximum number of font / size combinations"
+       depends on CONSOLE_TRUETYPE
+       default 10 if EXPO
+       default 1
+       help
+         This sets the number of font / size combinations which can be used by
+         the console. For simple console use a single font is enough. When
+         boot menus are in use, this may need to be increased.
+
+         Note that a separate entry is needed for each font size, even if the
+         font itself is the same. This is because the entry caches various
+         font metrics which are expensive to regenerate each time the font
+         size changes.
+
 config SYS_WHITE_ON_BLACK
        bool "Display console as white on a black background"
        default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
@@ -226,6 +223,16 @@ config SIMPLE_PANEL
          This turns on a simple panel driver that enables a compatible
          video panel.
 
+config PANEL_HX8238D
+       bool "Enable Himax HX-8238D LCD driver"
+       depends on PANEL
+       help
+         Support for HX-8238D LCD Panel
+         The  HX8238-D is a single chip controller and driver LSI that
+         integrates the power circuit.
+         It can drive a maximum 960x240 dot graphics on a-TFT panel
+         displays in 16M colors with dithering.
+
 source "drivers/video/fonts/Kconfig"
 
 config VIDCONSOLE_AS_LCD
@@ -423,7 +430,7 @@ config VIDEO_LCD_ANX9804
 
 config ATMEL_LCD
        bool "Atmel LCD panel support"
-       depends on LCD && ARCH_AT91
+       depends on DM_VIDEO && ARCH_AT91
 
 config ATMEL_LCD_BGR555
        bool "Display in BGR555 mode"
@@ -578,11 +585,10 @@ config NXP_TDA19988
 
 config ATMEL_HLCD
        bool "Enable ATMEL video support using HLCDC"
+       depends on DM_VIDEO
        help
           HLCDC supports video output to an attached LCD panel.
 
-source "drivers/video/ti/Kconfig"
-
 source "drivers/video/exynos/Kconfig"
 
 config LOGICORE_DP_TX
@@ -721,18 +727,6 @@ config LCD
          CONFIG option. See the README for details. Drives which have been
          converted to driver model will instead used CONFIG_DM_VIDEO.
 
-config LCD_INFO
-       bool "Show LCD info on-screen"
-       depends on LCD
-
-config LCD_LOGO
-       bool "Show a logo on screen"
-       depends on LCD
-
-config LCD_INFO_BELOW_LOGO
-       bool "Show LCD info below the on-screen logo"
-       depends on LCD_INFO && LCD_LOGO
-
 config VIDEO_DW_HDMI
        bool
        help
@@ -831,9 +825,10 @@ config SPLASH_SCREEN
          image data before it is processed and sent to the frame buffer by
          U-Boot. Define your own version to use this feature.
 
+if SPLASH_SCREEN
+
 config SPLASHIMAGE_GUARD
        bool "Support unaligned BMP images"
-       depends on SPLASH_SCREEN
        help
          If this option is set, then U-Boot will prevent the environment
          variable "splashimage" from being set to a problematic address
@@ -847,7 +842,6 @@ config SPLASHIMAGE_GUARD
 
 config SPLASH_SCREEN_ALIGN
        bool "Allow positioning the splash image anywhere on the display"
-       depends on SPLASH_SCREEN || CMD_BMP
        help
          If this option is set the splash image can be freely positioned
          on the screen. Environment variable "splashpos" specifies the
@@ -867,9 +861,17 @@ config SPLASH_SCREEN_ALIGN
                => vertically centered image
                   at x = dspWidth - bmpWidth - 9
 
+config HIDE_LOGO_VERSION
+       bool "Hide the version information on the splash screen"
+       help
+         Normally the U-Boot version string is shown on the display when the
+         splash screen is enabled. This information is not otherwise visible
+         since video starts up after U-Boot has displayed the initial banner.
+
+         Enable this option to hide this information.
+
 config SPLASH_SOURCE
        bool "Control the source of the splash image"
-       depends on SPLASH_SCREEN
        help
          Use the splash_source.c library. This library provides facilities to
          declare board specific splash image locations, routines for loading
@@ -900,6 +902,8 @@ config SPLASH_SOURCE
          In case the environment variable "splashfile" is not defined the
          default name 'splash.bmp' will be used.
 
+endif # SPLASH_SCREEN
+
 config VIDEO_BMP_GZIP
        bool "Gzip compressed BMP image support"
        depends on CMD_BMP || SPLASH_SCREEN
@@ -908,6 +912,14 @@ config VIDEO_BMP_GZIP
          images, gzipped BMP images can be displayed via the
          splashscreen support or the bmp command.
 
+config VIDEO_LOGO_MAX_SIZE
+       hex "Maximum size of the bitmap logo in bytes"
+       default 0x100000
+       help
+         Sets the maximum uncompressed size of the logo. This is needed when
+         decompressing a BMP file using the gzip algorithm, since it cannot
+         read the size from the bitmap header.
+
 config VIDEO_BMP_RLE8
        bool "Run length encoded BMP image (RLE8) support"
        depends on DM_VIDEO
@@ -933,10 +945,4 @@ config BMP_32BPP
        help
          Support display of bitmaps file with 32-bit-per-pixel.
 
-config VIDEO_VCXK
-       bool "Enable VCXK video controller driver support"
-       help
-         This enables VCXK driver which can be used with VC2K, VC4K
-         and VC8K devices on various boards from BuS Elektronik GmbH.
-
 endmenu