[U-Boot] i2c: Fix pca953x endianess issue, commit daa75b34828d45b7c1d63009188d45f4a32d06ba

Heiko Schocher hs at denx.de
Thu Oct 11 05:42:17 UTC 2018


Hello Joakim,

Am 10.10.2018 um 19:34 schrieb Joakim Tjernlund:
> This commit broke our pca953x usage(on ppc).
> 
> I wonder why gpio pins here has an endian, its not a number.
> If there must be an endian connected with this, should it not
> be a cpu_to_be16 instead, which will retain compatibility ?

Hmm.. good question, I think you are right. May dirk can do a test?
I have no pca953x with 16bit for doing a test.

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list