From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()
Date: Mon, 1 Jul 2013 20:13:46 +0200 [thread overview]
Message-ID: <20130701201346.5a292e50@crub> (raw)
In-Reply-To: <1371165191-11174-1-git-send-email-swarren@wwwdotorg.org>
On Thu, 13 Jun 2013 17:13:11 -0600
Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> Some ARM compilers may emit code that makes unaligned accesses when
> faced with constructs such as:
>
> const char format[] = "r5g6b5";
>
> Make this data static since it doesn't chagne; the compiler will simply
> place it into the .rodata section directly, and avoid any unaligned run-
> time initialization.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> common/lcd.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to u-boot-video/master. Thanks!
Anatolij
prev parent reply other threads:[~2013-07-01 18:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 23:13 [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node() Stephen Warren
2013-07-01 16:30 ` Stephen Warren
2013-07-01 16:35 ` Tom Rini
2013-07-01 18:08 ` Anatolij Gustschin
2013-07-01 18:13 ` 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=20130701201346.5a292e50@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