29 Jul
2014
29 Jul
'14
12:13 p.m.
On Tue, Jul 29, 2014 at 10:46:13AM +0100, Mark Rutland wrote:
- big-endian : If this property is absent, the native endian mode will
be in use as default, or the big endian mode will be in use
for all the device registers.
Native endian is meaningless. If a CPU supports both BE and LE, there is no native endianness. The endianness of the kernel is dynamic while the endianness of registers in HW is fixed.
Just choose an endianness to assume by default (presumably little). That way this describes the HW and always works with a kernel of arbitrary endianness.
Thank you for the comments.
I just revised it by using 'little endian as default' and sent the patch v6.
Please take a look at the new version.
Thanks again, Nicolin