[U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount
Wolfgang Denk
wd at denx.de
Tue Jul 10 09:09:46 CEST 2012
Dear Stefan Roese,
In message <201206041514.17201.sr at denx.de> you wrote:
>
> > Why don't you use __BYTE_ORDER rather than a new
> > define?
>
> Unfortunately not. There are LE platforms that use BE accessors for the
> bootcounter already (Davinci enbw_cmc). Mostly historical reasons I assume,
> since the original bootcount implementation was powerpc specific with those
> be32() functions.
We should check this, and eventually fix enbw_cmc.
Heiko, what do you think?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
COMPONENT EQUIVALENCY NOTICE: The Subatomic Particles (Electrons,
Protons, etc.) Comprising This Product Are Exactly the Same in Every
Measurable Respect as Those Used in the Products of Other Manufactu-
rers, and No Claim to the Contrary May Legitimately Be Expressed or
Implied.
More information about the U-Boot
mailing list