[U-Boot] [PATCH V4 09/11] ARM/PPC: add a common way to access registers
Stefano Babic
sbabic at denx.de
Fri Feb 5 14:05:15 CET 2010
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
=====================================================================
More information about the U-Boot
mailing list