public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nikita Kiryanov <nikita@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC 0/4] ansi console support for lcd driver
Date: Wed, 18 Mar 2015 14:58:38 +0200	[thread overview]
Message-ID: <5509767E.9030604@compulab.co.il> (raw)
In-Reply-To: <1426286965-18117-1-git-send-email-danindrey@mail.ru>

Hi Andrey,

On 03/14/2015 12:49 AM, Andrey Danin wrote:
> Main reason for this patches is ability to use bootmenu
> on devices that use lcd driver (like Toshiba AC100).
>
> Lcd driver doesn't have ansi support while cfb_console does.
> Ansi related code was moved from cfb_console to separate place.
> Then this code was used in both cfb_console and lcd driver.
>
> There are other duplicated code between cfb_console and lcd.
>
> I'm not very experienced with video subsystem. Maybe there is a
> better/more proper way to add ansi support for Toshiba AC100.

I think you have the right idea. As you pointed out, there's a lot of
duplication between lcd code and video code which should be eliminated,
and this is a step in that direction.

Hannes Petermaier is currently also working on lcd console functionality
(Introduce lcd_console rotation), and I recommend that you sync with his
patches (V2 has just been posted).

>
> ---
>
> Andrey Danin (4):
>    common: add ansi console base implementation
>    video: cfb_console: use common ansi implementation
>    lcd: use ansi console
>    paz00: enable bootmenu
>
>   common/Makefile             |   2 +-
>   common/ansi_console.c       | 355 +++++++++++++++++++++++++++++++++++++++++
>   common/lcd.c                |  24 ---
>   common/lcd_console.c        | 122 ++++++++------
>   drivers/video/Makefile      |   2 +-
>   drivers/video/cfb_console.c | 381 ++++----------------------------------------
>   include/ansi_console.h      |  39 +++++
>   include/configs/paz00.h     |   5 +
>   include/lcd_console.h       |  33 ++++
>   9 files changed, 537 insertions(+), 426 deletions(-)
>   create mode 100644 common/ansi_console.c
>   create mode 100644 include/ansi_console.h
>

-- 
Regards,
Nikita Kiryanov

      parent reply	other threads:[~2015-03-18 12:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13 22:49 [U-Boot] [RFC 0/4] ansi console support for lcd driver Andrey Danin
2015-03-13 22:49 ` [U-Boot] [RFC 1/4] common: add ansi console base implementation Andrey Danin
2015-03-18 13:06   ` Nikita Kiryanov
2015-03-13 22:49 ` [U-Boot] [RFC 2/4] video: cfb_console: use common ansi implementation Andrey Danin
2015-03-13 22:49 ` [U-Boot] [RFC 3/4] lcd: use ansi console Andrey Danin
2015-03-13 22:49 ` [U-Boot] [RFC 4/4] paz00: enable bootmenu Andrey Danin
2015-03-16 18:14   ` Stephen Warren
2015-03-17  7:58     ` Andrey Danin
2015-03-17 15:14       ` Stephen Warren
2015-03-18 12:58 ` Nikita Kiryanov [this message]

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=5509767E.9030604@compulab.co.il \
    --to=nikita@compulab.co.il \
    --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