public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] microblaze: usable uart16550 for big endian systems
Date: Fri, 25 Nov 2011 11:30:36 +0100	[thread overview]
Message-ID: <4ECF6E4C.8010506@monstr.eu> (raw)
In-Reply-To: <1322173972-11048-1-git-send-email-linz@li-pro.net>

Stephan Linz wrote:
> As a result of the commit 6833260 the uart16550 driver
> is broken for Microblaze big endian systems, because of
> the missing 3 byte offset. Other than as described, not
> all U-Boot BSP will treat properly the 3 byte offset.
> 
> This why prefer to mask out the 3 byte offset in general
> and setup correct _REG_SIZE value depending on edianess.
> 
> Signed-off-by: Stephan Linz <linz@li-pro.net>
> ---
> v2: Mask out 3 byte offset
>     Set correct _REG_SIZE values for big/little endianess
> ---
>  include/configs/microblaze-generic.h |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)

Tested-by: Michal Simek <monstr@monstr.eu>

Wolfgang: Can you please apply this patch directly to your repo.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

  reply	other threads:[~2011-11-25 10:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 22:32 [U-Boot] [PATCH v2] microblaze: usable uart16550 for big endian systems Stephan Linz
2011-11-25 10:30 ` Michal Simek [this message]
2011-11-27 14:49   ` Wolfgang Denk
2011-11-27 14:49 ` Wolfgang Denk

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=4ECF6E4C.8010506@monstr.eu \
    --to=monstr@monstr.eu \
    --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