public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Configuring U-Boot for MPC8349E in little endian mode
Date: Fri, 02 May 2008 09:34:03 -0500	[thread overview]
Message-ID: <481B265B.8060601@freescale.com> (raw)
In-Reply-To: <47230CE166B64744B0120173E4C2161E04D5352E@BLR-EC-MBX01.wipro.com>

vivek.trivedi at wipro.com wrote:
> Hi,
> Thanks all for quick response.
> 
> Actually we are having a huge application for video capture which is
> presently running on x86 based board having some DSPs. As per the data
> sheet of MPC8349E(e300 core), MPC8349E can be configured in true little
> endian mode.

It would be a lot easier if you modified the application to work on big-endian
and little-endian.  Just look through the code in places where the endian
matters, and add cpu_to_be32() and be32_to_cpu() (or similar functions).

The only time this will be real problem is with DMA, since on 83xx you cannot
modify the data during a DMA transfer.

-- 
Timur Tabi
Linux kernel developer at Freescale

  reply	other threads:[~2008-05-02 14:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30 15:34 [U-Boot-Users] Configuring U-Boot for MPC8349E in little endian mode vivek.trivedi at wipro.com
2008-04-30 15:45 ` Wolfgang Denk
2008-04-30 22:13 ` David Hawkins
2008-05-02  6:14 ` vivek.trivedi at wipro.com
2008-05-02  7:22   ` Kumar Gala
2008-05-02 12:38   ` Jerry Van Baren
2008-05-02 16:35   ` David Hawkins
2008-05-02  9:19 ` vivek.trivedi at wipro.com
2008-05-02 14:34   ` Timur Tabi [this message]
2008-05-02 16:52     ` David Hawkins
2008-05-02 19:47       ` Timur Tabi
2008-05-02 20:23         ` David Hawkins
2008-05-02 20:30           ` Timur Tabi
2008-05-02 21:48             ` David Hawkins

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=481B265B.8060601@freescale.com \
    --to=timur@freescale.com \
    --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