Re: [U-Boot] [PATCH 10/28] Convert CONFIG_VIDEO_CT69000 to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:54PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_VIDEO_CT69000
> 
> Signed-off-by: Simon Glass 

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 10/28] Convert CONFIG_VIDEO_CT69000 to Kconfig

2016-09-19 Thread Simon Glass
This converts the following to Kconfig:
   CONFIG_VIDEO_CT69000

Signed-off-by: Simon Glass 
---

 README   | 23 ---
 configs/MIP405T_defconfig|  1 +
 configs/MIP405_defconfig |  1 +
 configs/PIP405_defconfig |  1 +
 drivers/video/Kconfig| 27 +++
 include/configs/MIP405.h |  1 -
 include/configs/PIP405.h |  1 -
 scripts/config_whitelist.txt |  1 -
 8 files changed, 30 insertions(+), 26 deletions(-)

diff --git a/README b/README
index d3b0a1b..5df8b6b 100644
--- a/README
+++ b/README
@@ -1670,35 +1670,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):
-
- Colors640x480 800x600 1024x768 1152x864 1280x1024
-   -+-
- 8 bits |  0x301*  0x3030x3050x161 0x307
-15 bits |  0x310   0x3130x3160x162 0x319
-16 bits |  0x311   0x3140x3170x163 0x31A
-24 bits |  0x312   0x3150x318  ?   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 7445f4b..028a112 100644
--- a/configs/MIP405T_defconfig
+++ b/configs/MIP405T_defconfig
@@ -15,3 +15,4 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_FAT=y
 CONFIG_SYS_NS16550=y
 CONFIG_CFB_CONSOLE=y
+CONFIG_VIDEO_CT69000=y
diff --git a/configs/MIP405_defconfig b/configs/MIP405_defconfig
index 66f3eb8..ec76163 100644
--- a/configs/MIP405_defconfig
+++ b/configs/MIP405_defconfig
@@ -17,3 +17,4 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_CFB_CONSOLE=y
+CONFIG_VIDEO_CT69000=y
diff --git a/configs/PIP405_defconfig b/configs/PIP405_defconfig
index 5350d54..1f49c3b 100644
--- a/configs/PIP405_defconfig
+++ b/configs/PIP405_defconfig
@@ -17,3 +17,4 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_CFB_CONSOLE=y
+CONFIG_VIDEO_CT69000=y
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index b73d1a3..20ae11e 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -471,4 +471,31 @@ 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):
+
+ Colors640x480 800x600 1024x768 1152x864 1280x1024
+   -+-
+ 8 bits |  0x301*  0x3030x3050x161 0x307
+15 bits |  0x310   0x3130x3160x162 0x319
+16 bits |  0x311   0x3140x3170x163 0x31A
+24 bits |  0x312   0x3150x318  ?   0x31B
+   -+-
+   (i.e. setenv videomode 317; saveenv; reset;)
+
+   - "videomode=bootargs" all the video parameters are parsed
+   from the bootargs. (See drivers/video/videomodes.c)
+
 endmenu
diff --git a/include/configs/MIP405.h b/include/configs/MIP405.h
index 8395041..d746ddb 100644
--