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] [PATCH 12/13] lcd: dt: extract simplefb support
Date: Sun, 01 Feb 2015 15:56:52 +0200	[thread overview]
Message-ID: <54CE30A4.4000302@compulab.co.il> (raw)
In-Reply-To: <CAPnjgZ3gHoJoitNC+GCp6hM5jTnP+tBBezcs=eG=WnytwW_GeQ@mail.gmail.com>

Hi Simon,

On 01/31/2015 02:25 AM, Simon Glass wrote:
> On 29 January 2015 at 04:21, Nikita Kiryanov <nikita@compulab.co.il> wrote:
>> We now have api functions that can support compiling simplefb code as its own
>> module. Since this code is not part of the display functionality, extract it
>> to its own file.
>>
>> Raspberry Pi config file is updated to compile the new file.
>>
>> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
>> Cc: Simon Glass <sjg@chromium.org>
>> Cc: Anatolij Gustschin <agust@denx.de>
>> Cc: Stephen Warren <swarren@wwwdotorg.org>
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
>
> Could even go in fdtdec.c if you like.

Hmm... I'm a little torn, but in the long term I think it's better to keep
subsystem-specific fdt code in separate files, because otherwise fdtdec.c will
eventually grow to enormous proportions.

>
>> ---
>>   board/raspberrypi/rpi/rpi.c |  1 +
>>   common/Makefile             |  1 +
>>   common/lcd.c                | 50 --------------------------------------
>>   common/lcd_simplefb.c       | 59 +++++++++++++++++++++++++++++++++++++++++++++
>>   include/fdt_simplefb.h      | 14 +++++++++++
>>   include/lcd.h               |  3 ---
>>   6 files changed, 75 insertions(+), 53 deletions(-)
>>   create mode 100644 common/lcd_simplefb.c
>>   create mode 100644 include/fdt_simplefb.h

-- 
Regards,
Nikita Kiryanov

  reply	other threads:[~2015-02-01 13:56 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29 11:21 [U-Boot] [PATCH 00/13] common lcd refactor Nikita Kiryanov
2015-01-29 11:21 ` [U-Boot] [PATCH 01/13] lcd: move platform specific structs to their own headers Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 02/13] lcd: split configuration_get_cmap Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-02-01 17:02     ` Nikita Kiryanov
2015-02-01 17:14       ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 03/13] lcd: atmel: move atmel specific fb_put_word to atmel_lcdfb Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 04/13] lcd: mpc8xx: move mpc823 specific fb_put_byte to mpc8xx_lcd.c Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 05/13] lcd: atmel: introduce lcd_logo_set_cmap Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 06/13] lcd: mpc823: move mpc823 specific lcd_logo_set_cmap code to mpc8xx_lcd.c Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 07/13] lcd: logo: move generic cmap setting to lcd_logo_set_cmap() Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 08/13] lcd: introduce lcd_set_cmap Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 09/13] lcd: remove unused includes Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 10/13] lcd: various cleanups Nikita Kiryanov
2015-01-31  0:24   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 11/13] lcd: rename bitmap_plot to better represent its functionality Nikita Kiryanov
2015-01-31  0:25   ` Simon Glass
2015-01-29 11:21 ` [U-Boot] [PATCH 12/13] lcd: dt: extract simplefb support Nikita Kiryanov
2015-01-29 17:14   ` Stephen Warren
2015-02-01 13:58     ` Nikita Kiryanov
2015-01-31  0:25   ` Simon Glass
2015-02-01 13:56     ` Nikita Kiryanov [this message]
2015-01-29 11:21 ` [U-Boot] [PATCH 13/13] lcd: split splash code into its own function Nikita Kiryanov
2015-01-31  0:25   ` Simon Glass
2015-02-01 13:59     ` Nikita Kiryanov
2015-02-01 16:25       ` Simon Glass

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=54CE30A4.4000302@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