RFC ansi console support for lcd driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 of 4 patches 0 repliesNew
1 of 4 patches is in this archive. The cover letter announces 4.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | common: add ansi console base implementation | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [RFC 0/4] ansi console support for lcd driver
Hi Andrey,
Quoted 11 lines · Andrey Danin
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_consoledoes. Ansi related code was moved fromcfb_consoleto separate place. Then this code was used in bothcfb_consoleand lcd driver.There are other duplicated code between
cfb_consoleand 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).
Quoted 22 lines
---
Andrey Danin (4):
common: add ansi console base implementation
video:cfb_console: use common ansi implementation
lcd: use ansi console
paz00: enable bootmenucommon/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 100644include/ansi_console.h
Signature · 2 lines
Regards, Nikita Kiryanov