U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 08/29] Convert CONFIG_CFB_CONSOLE to Kconfig
Date: Tue, 27 Sep 2016 21:47:08 -0400	[thread overview]
Message-ID: <20160928014708.GZ4884@bill-the-cat> (raw)
In-Reply-To: <1474762645-18544-9-git-send-email-sjg@chromium.org>

On Sat, Sep 24, 2016 at 06:17:04PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>    CONFIG_CFB_CONSOLE
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>
[snip]
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index bc246c5..33d85e7 100644
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -422,4 +422,44 @@ config VIDEO
>  	  model. Video drivers typically provide a colour text console and
>  	  cursor.
>  
> +config CFB_CONSOLE
> +	bool "Enable colour frame buffer console"
> +	depends on VIDEO
> +	help
> +	  Enables the colour frame buffer driver. This supports colour
> +	  output on a bitmap display from an in-memory frame buffer.
> +	  Several colour devices are supported along with various options to
> +	  adjust the supported features. The driver is implemented in
> +	  cfb_console.c
> +
> +	  The following defines are needed (cf. smiLynxEM, i8042)
> +		VIDEO_FB_LITTLE_ENDIAN	graphic memory organisation
> +					(default big endian)
> +		VIDEO_HW_RECTFILL	graphic chip supports
> +					rectangle fill (cf. smiLynxEM)
> +		VIDEO_HW_BITBLT		graphic chip supports
> +					bit-blit (cf. smiLynxEM)
> +		VIDEO_VISIBLE_COLS	visible pixel columns (cols=pitch)
> +		VIDEO_VISIBLE_ROWS	visible pixel rows
> +		VIDEO_PIXEL_SIZE	bytes per pixel
> +		VIDEO_DATA_FORMAT	graphic data format
> +					(0-5, cf. cfb_console.c)
> +		VIDEO_FB_ADRS		framebuffer address
> +		VIDEO_KBD_INIT_FCT	keyboard int fct (i.e. rx51_kp_init())
> +		VIDEO_TSTC_FCT		test char fct (i.e. rx51_kp_tstc)
> +		VIDEO_GETC_FCT		get char fct (i.e. rx51_kp_getc)
> +		CONFIG_VIDEO_LOGO	display Linux logo in upper left corner
> +		CONFIG_VIDEO_BMP_LOGO	use bmp_logo.h instead of linux_logo.h
> +					for logo. Requires CONFIG_VIDEO_LOGO
> +		CONFIG_CONSOLE_EXTRA_INFO
> +					additional board info beside
> +					the logo
> +		CONFIG_HIDE_LOGO_VERSION
> +					do not display bootloader
> +					version string
> +
> +	  When CONFIG_CFB_CONSOLE is defined, the video console is the
> +	  default console. The serial console can be forced by setting the
> +	  environment 'console=serial'.

We're missing a default y here I think.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160927/2c1bb7f7/attachment.sig>

  reply	other threads:[~2016-09-28  1:47 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-25  0:16 [U-Boot] [PATCH v2 00/29] Kconfig: Move console options to Kconfig Simon Glass
2016-09-25  0:16 ` [U-Boot] [PATCH v2 01/29] Remove some merge markers Simon Glass
2016-09-25  0:16 ` [U-Boot] [PATCH v2 02/29] Convert SILENT_CONSOLE options to Kconfig Simon Glass
2016-09-28  1:46   ` Tom Rini
2016-09-25  0:16 ` [U-Boot] [PATCH v2 03/29] Convert CONSOLE_PRE_CONSOLE_BUFFER " Simon Glass
2016-09-28  1:47   ` Tom Rini
2016-09-25  0:17 ` [U-Boot] [PATCH v2 04/29] Convert CONFIG_SYS_CONSOLE_IS_IN_ENV et al " Simon Glass
2016-09-28  1:47   ` Tom Rini
2016-09-25  0:17 ` [U-Boot] [PATCH v2 05/29] config: Drop CONFIG_CONSOLE Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 06/29] config: Drop CONFIG_CONSOLE_DEV Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 07/29] Convert CONFIG_VIDEO to Kconfig Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 08/29] Convert CONFIG_CFB_CONSOLE " Simon Glass
2016-09-28  1:47   ` Tom Rini [this message]
2016-09-25  0:17 ` [U-Boot] [PATCH v2 09/29] Convert CONFIG_CFB_CONSOLE_ANSI " Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 10/29] Convert CONFIG_VIDEO_CT69000 " Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 11/29] Convert CONFIG_SYS_CONSOLE_BG_COL et al " Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 12/29] video: Drop the smiLynxEM driver Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 13/29] video: Drop the imx25lcdc driver Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 14/29] video: Drop the s3c-fb driver Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 15/29] video: Drop the sed13806 driver Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 16/29] Convert CONFIG_VGA_AS_SINGLE_DEVICE to Kconfig Simon Glass
2016-09-28  1:47   ` Tom Rini
2016-09-25  0:17 ` [U-Boot] [PATCH v2 17/29] video: Drop CONFIG_VIDEO_HW_CURSOR Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 18/29] Convert CONFIG_VIDEO_SW_CURSOR to Kconfig Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 19/29] video: Drop CONFIG_VIDEO_SW_CURSOR Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 20/29] Convert CONFIG_CONSOLE_EXTRA_INFO to Kconfig Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 21/29] video: Move video_get_info_str() prototype to a header file Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 22/29] video: Drop CONFIG_CONSOLE_INFO_QUIET Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 23/29] Convert CONFIG_LCD to Kconfig Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 24/29] Convert CONFIG_CONSOLE_SCROLL_LINES " Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 25/29] Convert CONFIG_SYS_CONSOLE_ENV_OVERWRITE " Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 26/29] Convert CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE " Simon Glass
2016-09-25  0:17 ` [U-Boot] [PATCH v2 27/29] Convert CONFIG_SYS_CONSOLE_INFO_QUIET " Simon Glass
2016-09-28  1:47   ` Tom Rini
2016-09-25  0:17 ` [U-Boot] [PATCH v2 28/29] Convert CONFIG_USB_KEYBOARD " Simon Glass
2016-09-28  1:47   ` Tom Rini
2016-09-25  0:17 ` [U-Boot] [PATCH v2 29/29] Convert CONFIG_SYS_STDIO_DEREGISTER " Simon Glass
2016-09-28  1:47   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160928014708.GZ4884@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox