spi: fsl_qspi: Update write data size for page program LUT
authorYe Li <ye.li@nxp.com>
Wed, 14 Aug 2019 11:31:31 +0000 (11:31 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:37 +0000 (16:36 +0200)
commitb866b9278a3b87e7f70f026785c002b109258022
tree0c5fbfa64ffaa17419b1bbed0cd854f25577e3d4
parent7949576664ac8fe8c0da08fcd8c611b9616719f1
spi: fsl_qspi: Update write data size for page program LUT

The write data size can be overwritten by writing to the IDATSZ
field of IPCR register. Since the driver always updates the IDATSZ
in page program operation. Set the LUT data size to 0 to align
the codes with iMX.

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/spi/fsl_qspi.c