public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V4 09/11] ARM/PPC: add a common way to access registers
Date: Fri, 05 Feb 2010 14:05:15 +0100	[thread overview]
Message-ID: <4B6C178B.4080802@denx.de> (raw)
In-Reply-To: <4B6AFC6C.9060809@freescale.com>

Scott Wood wrote:

> How about adding additional I/O accessors that do native endian accesses
> instead of specified endian?

Hi Scott,

I confess I have thought to add this kind of abstraction, too. However,
this is probably overkilling for the purpose of this patch.

I think if we need another general way to manage endianess, it should be
better done in another patch. Scope of this patch is only to provide
common ways to access peripherals from SoCs sharing the same
controllers, but with different CPUs.

I do not know (at least, I have not founded), if there is already in
u-boot a driver shared between architectures with different endianess,
but as sure the Freescale's MX and PowerQuick processors have some
common parts and we should try to reuse code as Freescale reused gates.
 Or at least, try to do it....

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2010-02-05 13:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 13:43 [U-Boot] [PATCH V4 09/11] ARM/PPC: add a common way to access registers Stefano Babic
2010-01-26 15:02 ` Wolfgang Denk
2010-01-29 11:28   ` Stefano Babic
2010-02-03 19:53     ` Wolfgang Denk
2010-02-04  9:43       ` Stefano Babic
2010-02-04 10:34         ` Wolfgang Denk
2010-02-04 16:57         ` Scott Wood
2010-02-05 13:05           ` Stefano Babic [this message]
2010-02-05 16:52             ` Scott Wood

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=4B6C178B.4080802@denx.de \
    --to=sbabic@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