Convert CONFIG_VIDEO_CT69000 to Kconfig
authorSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2016 02:12:43 +0000 (20:12 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 23 Oct 2016 22:33:40 +0000 (18:33 -0400)
This converts the following to Kconfig:
   CONFIG_VIDEO_CT69000

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
README
configs/MIP405T_defconfig
configs/MIP405_defconfig
configs/PIP405_defconfig
drivers/video/Kconfig
include/configs/MIP405.h
include/configs/PIP405.h
scripts/config_whitelist.txt

diff --git a/README b/README
index 5996598..7443b9f 100644 (file)
--- a/README
+++ b/README
@@ -1619,35 +1619,12 @@ CBFS (Coreboot Filesystem) support
                instead.
 
 - Video support:
-               CONFIG_VIDEO_CT69000
-
-               Enable Chips & Technologies 69000 Video chip
-
                CONFIG_VIDEO_SMI_LYNXEM
                Enable Silicon Motion SMI 712/710/810 Video chip. The
                video output is selected via environment 'videoout'
                (1 = LCD and 2 = CRT). If videoout is undefined, CRT is
                assumed.
 
-               For the CT69000 and SMI_LYNXEM drivers, videomode is
-               selected via environment 'videomode'. Two different ways
-               are possible:
-               - "videomode=num"   'num' is a standard LiLo mode numbers.
-               Following standard modes are supported  (* is default):
-
-                     Colors    640x480 800x600 1024x768 1152x864 1280x1024
-               -------------+---------------------------------------------
-                     8 bits |  0x301*  0x303    0x305    0x161     0x307
-                    15 bits |  0x310   0x313    0x316    0x162     0x319
-                    16 bits |  0x311   0x314    0x317    0x163     0x31A
-                    24 bits |  0x312   0x315    0x318      ?       0x31B
-               -------------+---------------------------------------------
-               (i.e. setenv videomode 317; saveenv; reset;)
-
-               - "videomode=bootargs" all the video parameters are parsed
-               from the bootargs. (See drivers/video/videomodes.c)
-
-
                CONFIG_VIDEO_SED13806
                Enable Epson SED13806 driver. This driver supports 8bpp
                and 16bpp modes defined by CONFIG_VIDEO_SED13806_8BPP
index 84be16e..b5f4d93 100644 (file)
@@ -16,3 +16,4 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_FAT=y
 CONFIG_SYS_NS16550=y
+CONFIG_VIDEO_CT69000=y
index 9c77df8..4eb1856 100644 (file)
@@ -19,3 +19,4 @@ CONFIG_CMD_FAT=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
+CONFIG_VIDEO_CT69000=y
index 114bdcb..2a42dc0 100644 (file)
@@ -19,3 +19,4 @@ CONFIG_CMD_FAT=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
+CONFIG_VIDEO_CT69000=y
index d3e0a1a..f43053f 100644 (file)
@@ -493,6 +493,33 @@ config CFB_CONSOLE_ANSI
          erase functions and limited graphics rendition control). Normal
          output from U-Boot will pass through this filter.
 
+config VIDEO_CT69000
+       bool "Enable Chips & Technologies 69000 video driver"
+       depends on VIDEO
+       help
+         This enables a frame buffer driver for the Chips & Technologies
+         ct69000, a fairly old graphics device (circa 2000) which is used
+         on some hardware. It operates over the ISA bus, and supports
+         some acceleration features.
+
+         For the CT69000 and SMI_LYNXEM drivers, videomode is
+               selected via environment 'videomode'. Two different ways
+               are possible:
+               - "videomode=num"   'num' is a standard LiLo mode numbers.
+               Following standard modes are supported  (* is default):
+
+                     Colors    640x480 800x600 1024x768 1152x864 1280x1024
+               -------------+---------------------------------------------
+                     8 bits |  0x301*  0x303    0x305    0x161     0x307
+                    15 bits |  0x310   0x313    0x316    0x162     0x319
+                    16 bits |  0x311   0x314    0x317    0x163     0x31A
+                    24 bits |  0x312   0x315    0x318      ?       0x31B
+               -------------+---------------------------------------------
+               (i.e. setenv videomode 317; saveenv; reset;)
+
+               - "videomode=bootargs" all the video parameters are parsed
+               from the bootargs. (See drivers/video/videomodes.c)
+
 config LCD
        bool "Enable legacy LCD support"
        help
index ce3071c..11f16c5 100644 (file)
 /************************************************************
  * Video support
  ************************************************************/
-#define CONFIG_VIDEO_CT69000
 #define CONFIG_VIDEO_LOGO
 #define CONFIG_CONSOLE_EXTRA_INFO
 #define CONFIG_VGA_AS_SINGLE_DEVICE
index 85701fd..f43f221 100644 (file)
 /************************************************************
  * Video support
  ************************************************************/
-#define CONFIG_VIDEO_CT69000
 #define CONFIG_VIDEO_LOGO
 #define CONFIG_CONSOLE_EXTRA_INFO
 #define CONFIG_VGA_AS_SINGLE_DEVICE
index dbc8ca8..745dd54 100644 (file)
@@ -8260,7 +8260,6 @@ CONFIG_VIDEO_BMP_GZIP
 CONFIG_VIDEO_BMP_LOGO
 CONFIG_VIDEO_BMP_RLE8
 CONFIG_VIDEO_CORALP
-CONFIG_VIDEO_CT69000
 CONFIG_VIDEO_DA8XX
 CONFIG_VIDEO_DT_SIMPLEFB
 CONFIG_VIDEO_FONT_4X6