xtensa: xtfpga: fix ethernet controller endianness
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 25 Aug 2015 06:04:12 +0000 (09:04 +0300)
committerChris Zankel <chris@zankel.net>
Fri, 11 Mar 2016 08:53:31 +0000 (08:53 +0000)
commitd99434e1760b94e08512821b5a05992398c1aa9e
treee2f871abcee6bf67825251a124fb8da5a813fd31
parentabfbd89595e91d5108f807e10bbd2152bc55f36b
xtensa: xtfpga: fix ethernet controller endianness

Ethernet controller is attached to XTFPGA boards as native endian device,
mark it as such in DTS and pass correct endianness in platform data.
This makes network functional on big-endian CPUs.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/boot/dts/xtfpga.dtsi
arch/xtensa/platforms/xtfpga/setup.c