spi: fsl_qspi: Preserve endianness of QSPI MCR
authorYork Sun <york.sun@nxp.com>
Wed, 5 Oct 2016 20:19:08 +0000 (13:19 -0700)
committerYork Sun <york.sun@nxp.com>
Thu, 6 Oct 2016 21:28:32 +0000 (14:28 -0700)
commit3c6b1767c26aea37f0ee1d3c104c7feba2cea060
tree1f4c2befa81137da7d875692f637a5383a785c59
parent53d76829d517135381ee94519828128206e70db6
spi: fsl_qspi: Preserve endianness of QSPI MCR

The endianness can be changed by RCW + PBI sequence. It may have
other than power on reset value.

Signed-off-by: York Sun <york.sun@nxp.com>
CC: Yuan Yao <yao.yuan@nxp.com>
CC: Peng Fan <peng.fan@nxp.com>
CC: Alison Wang <alison.wang@nxp.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/spi/fsl_qspi.c