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] video: cfb_console: fix 32-bit display on 64-bit architectures
Date: Tue, 7 Mar 2017 21:25:04 +0100	[thread overview]
Message-ID: <20170307212504.3410a857@crub> (raw)
In-Reply-To: <1488762818-21115-1-git-send-email-andre.przywara@arm.com>

On Mon,  6 Mar 2017 01:13:38 +0000
Andre Przywara andre.przywara at arm.com wrote:

> "unsigned long" is a lousy data type when it comes to match peripheral
> hardware registers with a fixed size.
> Just do the obvious and match a 32-bit display format with an "u32"
> data type for casting.
> This fixes the logo display on 64-bit architectures, which produced
> a black line on the right side of the logo with non-black backgrounds.
> 
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
>  drivers/video/cfb_console.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

applied to u-boot-video/master. Thanks!

--
Anatolij

      reply	other threads:[~2017-03-07 20:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-06  1:13 [U-Boot] [PATCH] video: cfb_console: fix 32-bit display on 64-bit architectures Andre Przywara
2017-03-07 20:25 ` 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=20170307212504.3410a857@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