Dear Stefan Roese, In message <201206041514.17201...@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: w...@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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot