public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V4] lcd: align bmp header when uncopmressing image
Date: Mon, 1 Jul 2013 20:51:31 +0200	[thread overview]
Message-ID: <20130701205131.633a055f@crub> (raw)
In-Reply-To: <1370412870-5150-1-git-send-email-p.wilczek@samsung.com>

On Wed, 05 Jun 2013 08:14:30 +0200
Piotr Wilczek <p.wilczek@samsung.com> wrote:

> When compressed image is loaded, it must be decompressed
> to an aligned address + 2 to avoid unaligned access exception
> on some ARM platforms.
> 
> Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> CC: Anatolij Gustschin <agust@denx.de>
> CC: Wolfgang Denk <wd@denx.de>
> ---
> Changes for V4:
> - dropped the if condition
> 
> Changes for V3:
> - add comment on why extra space is allocated for uncompressed bmp header
> - change the + 2 aligment method as Wolfgang Denk suggested
> 
> Changes for V2:
> - add additional space for uncompressed bmp header due to alignment requirements
> - fix to 32-bit-aligned-address + 2 alignent
> 
>  common/cmd_bmp.c |   42 ++++++++++++++++++++++++++++--------------
>  include/lcd.h    |    3 ++-
>  2 files changed, 30 insertions(+), 15 deletions(-)

Applied to u-boot-video/master (slightly corrected the comment
for gunzip_bmp()). Thanks!

Anatolij

      reply	other threads:[~2013-07-01 18:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-24  7:46 [U-Boot] [PATCH] drivers:lcd: fix unaligned access on lcd Piotr Wilczek
2013-05-24 18:33 ` Wolfgang Denk
2013-05-27 11:35   ` Piotr Wilczek
2013-05-28  6:10     ` Nikita Kiryanov
2013-05-24 18:41 ` Jeroen Hofstee
2013-05-31 11:26 ` [U-Boot] [PATCH] lcd: align bmp header when uncopmressing image Piotr Wilczek
2013-05-31 14:22   ` Wolfgang Denk
2013-06-03  6:17     ` Piotr Wilczek
2013-06-03 11:15       ` Wolfgang Denk
2013-06-03 14:14         ` Piotr Wilczek
2013-06-03 18:45           ` Wolfgang Denk
2013-06-02 11:05   ` Nikita Kiryanov
2013-06-03  6:39     ` Piotr Wilczek
2013-06-03 11:18       ` Wolfgang Denk
2013-06-03 13:59   ` [U-Boot] [PATCH V2] " Piotr Wilczek
2013-06-03 18:44     ` Wolfgang Denk
2013-06-04 11:00     ` [U-Boot] [PATCH V3] " Piotr Wilczek
2013-06-04 15:05       ` Wolfgang Denk
2013-06-05  6:14       ` [U-Boot] [PATCH V4] " Piotr Wilczek
2013-07-01 18:51         ` Anatolij Gustschin [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=20130701205131.633a055f@crub \
    --to=agust@denx.de \
    --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