diff options
author | Simon Glass <sjg@chromium.org> | 2016-10-17 20:12:43 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-23 18:33:40 -0400 |
commit | cfa307f839f59f27b6fd1e80f3686e53b457f8dc (patch) | |
tree | 976fdba341ddf8f028f170c8a309c90ab9832d64 | |
parent | c6745195be700fa3f8a7221169a0f20df9c0e91f (diff) | |
download | u-boot-cfa307f839f59f27b6fd1e80f3686e53b457f8dc.tar.gz |
Convert CONFIG_VIDEO_CT69000 to Kconfig
This converts the following to Kconfig:
CONFIG_VIDEO_CT69000
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | README | 23 | ||||
-rw-r--r-- | configs/MIP405T_defconfig | 1 | ||||
-rw-r--r-- | configs/MIP405_defconfig | 1 | ||||
-rw-r--r-- | configs/PIP405_defconfig | 1 | ||||
-rw-r--r-- | drivers/video/Kconfig | 27 | ||||
-rw-r--r-- | include/configs/MIP405.h | 1 | ||||
-rw-r--r-- | include/configs/PIP405.h | 1 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
8 files changed, 30 insertions, 26 deletions
@@ -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 diff --git a/configs/MIP405T_defconfig b/configs/MIP405T_defconfig index 84be16e6a2..b5f4d93890 100644 --- a/configs/MIP405T_defconfig +++ b/configs/MIP405T_defconfig @@ -16,3 +16,4 @@ CONFIG_CMD_PING=y CONFIG_CMD_CACHE=y CONFIG_CMD_FAT=y CONFIG_SYS_NS16550=y +CONFIG_VIDEO_CT69000=y diff --git a/configs/MIP405_defconfig b/configs/MIP405_defconfig index 9c77df8233..4eb1856dec 100644 --- a/configs/MIP405_defconfig +++ b/configs/MIP405_defconfig @@ -19,3 +19,4 @@ CONFIG_CMD_FAT=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_STORAGE=y +CONFIG_VIDEO_CT69000=y diff --git a/configs/PIP405_defconfig b/configs/PIP405_defconfig index 114bdcb6e6..2a42dc02e6 100644 --- a/configs/PIP405_defconfig +++ b/configs/PIP405_defconfig @@ -19,3 +19,4 @@ CONFIG_CMD_FAT=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_STORAGE=y +CONFIG_VIDEO_CT69000=y diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index d3e0a1a9a0..f43053fbf6 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -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 diff --git a/include/configs/MIP405.h b/include/configs/MIP405.h index ce3071c7a6..11f16c5c73 100644 --- a/include/configs/MIP405.h +++ b/include/configs/MIP405.h @@ -339,7 +339,6 @@ /************************************************************ * Video support ************************************************************/ -#define CONFIG_VIDEO_CT69000 #define CONFIG_VIDEO_LOGO #define CONFIG_CONSOLE_EXTRA_INFO #define CONFIG_VGA_AS_SINGLE_DEVICE diff --git a/include/configs/PIP405.h b/include/configs/PIP405.h index 85701fd717..f43f221104 100644 --- a/include/configs/PIP405.h +++ b/include/configs/PIP405.h @@ -299,7 +299,6 @@ /************************************************************ * Video support ************************************************************/ -#define CONFIG_VIDEO_CT69000 #define CONFIG_VIDEO_LOGO #define CONFIG_CONSOLE_EXTRA_INFO #define CONFIG_VGA_AS_SINGLE_DEVICE diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index dbc8ca8ffa..745dd541bc 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -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 |