From: Nikita Kiryanov <nikita@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3 00/12] cleanup and refactor lcd.c
Date: Mon, 15 Dec 2014 14:02:04 +0200 [thread overview]
Message-ID: <548ECDBC.30002@compulab.co.il> (raw)
In-Reply-To: <1418051686-630-1-git-send-email-nikita@compulab.co.il>
Gentle ping.
On 12/08/2014 05:14 PM, Nikita Kiryanov wrote:
> This series is a first step towards an end goal of merging all CONFIG_LCD
> related functionality into CONFIG_VIDEO code. My plan is to start by refactoring
> lcd.c into something cleaner (less ifdefs) and more modular (split code into
> multiple files), then possibly refactor CONFIG_VIDEO code if needed, and then
> finally: move CONFIG_LCD related functionality over to CONFIG_VIDEO code,
> replacing as much CONFIG_LCD related code with CONFIG_VIDEO related code as
> possible.
>
> This specific step eliminates some unused code and refactors lcd console stuff
> into its own file.
>
> The patches ("lcd: rename console_(row|col)" to
> "lcd: make lcd_drawchars() independant of lcd_base") are preparatory patches
> meant to illustrate exactly what changed and where in the transition from lcd.c
> to lcd_console.c, and are not necesserily code improvements when viewed out of
> context.
>
> Changes in V3:
> - Function documentation
> - Cache values of lcd_get(bg|fg)color() instead of calling the functions
> multiple times.
>
> The whole series was rebased over current mainline, and compile tested for arm
> and powerpc.
>
> Cc: Anatolij Gustschin <agust@denx.de>
> Cc: Wolfgang Denk <wd@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Stephen Warren <swarren@wwwdotorg.org>
>
> Entire series:
> Tested-by: Stephen Warren <swarren@wwwdotorg.org>
> Tested-by: Simon Glass <sjg@chromium.org>
>
> Nikita Kiryanov (12):
> lcd: remove CONFIG_SYS_INVERT_COLORS
> lcd: cleanup lcd_drawchars
> mpc8xx_lcd: get rid of CONFIG_EDT32F10
> lcd: remove LCD_MONOCHROME
> lcd: rename console_(row|col)
> lcd: replace CONSOLE_(ROWS|COLS) with variables
> lcd: expand console api
> lcd: get rid of COLOR_MASK
> lcd: introduce getters for bg/fg color
> lcd: make lcd_drawchars() independant of lcd_base
> lcd: refactor lcd console stuff into its own file
> lcd_console: remove unused defines
>
> common/Makefile | 2 +-
> common/lcd.c | 313 +++++----------------------------------------
> common/lcd_console.c | 211 ++++++++++++++++++++++++++++++
> drivers/video/mpc8xx_lcd.c | 49 +------
> drivers/video/pxa_lcd.c | 15 ---
> include/configs/R360MPI.h | 1 -
> include/lcd.h | 25 ++--
> include/lcd_console.h | 86 +++++++++++++
> 8 files changed, 347 insertions(+), 355 deletions(-)
> create mode 100644 common/lcd_console.c
> create mode 100644 include/lcd_console.h
>
--
Regards,
Nikita Kiryanov
next prev parent reply other threads:[~2014-12-15 12:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-08 15:14 [U-Boot] [PATCH V3 00/12] cleanup and refactor lcd.c Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 01/12] lcd: remove CONFIG_SYS_INVERT_COLORS Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 02/12] lcd: cleanup lcd_drawchars Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 03/12] mpc8xx_lcd: get rid of CONFIG_EDT32F10 Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 04/12] lcd: remove LCD_MONOCHROME Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 05/12] lcd: rename console_(row|col) Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 06/12] lcd: replace CONSOLE_(ROWS|COLS) with variables Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 07/12] lcd: expand console api Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 08/12] lcd: get rid of COLOR_MASK Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 09/12] lcd: introduce getters for bg/fg color Nikita Kiryanov
2014-12-09 13:57 ` Simon Glass
2014-12-08 15:14 ` [U-Boot] [PATCH V3 10/12] lcd: make lcd_drawchars() independant of lcd_base Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 11/12] lcd: refactor lcd console stuff into its own file Nikita Kiryanov
2014-12-08 15:14 ` [U-Boot] [PATCH V3 12/12] lcd_console: remove unused defines Nikita Kiryanov
2014-12-15 12:02 ` Nikita Kiryanov [this message]
2014-12-17 2:13 ` [U-Boot] [PATCH V3 00/12] cleanup and refactor lcd.c Simon Glass
2015-01-08 12:26 ` Nikita Kiryanov
2015-01-10 19:22 ` Anatolij Gustschin
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=548ECDBC.30002@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