From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Fri, 02 May 2008 09:34:03 -0500 Subject: [U-Boot-Users] Configuring U-Boot for MPC8349E in little endian mode In-Reply-To: <47230CE166B64744B0120173E4C2161E04D5352E@BLR-EC-MBX01.wipro.com> References: <47230CE166B64744B0120173E4C2161E04D531CF@BLR-EC-MBX01.wipro.com> <47230CE166B64744B0120173E4C2161E04D5352E@BLR-EC-MBX01.wipro.com> Message-ID: <481B265B.8060601@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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