Convert CONFIG_CONSOLE_EXTRA_INFO to Kconfig
[platform/kernel/u-boot.git] / drivers / video / Kconfig
index f43053f..fa9f9fa 100644 (file)
@@ -493,6 +493,36 @@ config CFB_CONSOLE_ANSI
          erase functions and limited graphics rendition control). Normal
          output from U-Boot will pass through this filter.
 
+config VGA_AS_SINGLE_DEVICE
+       bool "Set the video as an output-only device"
+       depends on CFB_CONSOLE
+       default y
+       help
+         If enable the framebuffer device will be initialized as an
+         output-only device. The Keyboard driver will not be set up. This
+         may be used if you have no keyboard device, or more than one
+         (USB Keyboard, AT Keyboard).
+
+config VIDEO_SW_CURSOR
+       bool "Enable a software cursor"
+       depends on CFB_CONSOLE
+       default y if CFB_CONSOLE
+       help
+         This draws a cursor after the last character. No blinking is
+         provided. This makes it possible to see the current cursor
+         position when entering text on the console. It is recommended to
+         enable this.
+
+config CONSOLE_EXTRA_INFO
+       bool "Display additional board information"
+       depends on CFB_CONSOLE
+       help
+         Display additional board information strings that normally go to
+         the serial port. When this option is enabled, a board-specific
+         function video_get_info_str() is called to get the string for
+         each line of the display. The function should return the string,
+         which can be empty if there is nothing to display for that line.
+
 config VIDEO_CT69000
        bool "Enable Chips & Technologies 69000 video driver"
        depends on VIDEO
@@ -520,6 +550,28 @@ config VIDEO_CT69000
                - "videomode=bootargs" all the video parameters are parsed
                from the bootargs. (See drivers/video/videomodes.c)
 
+config SYS_CONSOLE_BG_COL
+       hex "Background colour"
+       depends on CFB_CONSOLE || VIDEO_CT69000
+       default 0x00
+       help
+         Defines the background colour for the console. The value is from
+         0x00 to 0xff and the meaning depends on the graphics card.
+         Typically, 0x00 means black and 0xff means white. Do not set
+         the background and foreground to the same colour or you will see
+         nothing.
+
+config SYS_CONSOLE_FG_COL
+       hex "Foreground colour"
+       depends on CFB_CONSOLE || VIDEO_CT69000
+       default 0xa0
+       help
+         Defines the foreground colour for the console. The value is from
+         0x00 to 0xff and the meaning depends on the graphics card.
+         Typically, 0x00 means black and 0xff means white. Do not set
+         the background and foreground to the same colour or you will see
+         nothing.
+
 config LCD
        bool "Enable legacy LCD support"
        help