MLK-15958-2 spi: fsl_fspi: Add support for 4bytes address mode
authorYe Li <ye.li@nxp.com>
Wed, 12 Jul 2017 09:33:27 +0000 (04:33 -0500)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 08:59:46 +0000 (01:59 -0700)
commitf3962b2081253c8838ca86d26ebb712b8b98efcf
treefb6951c1bf440fa88799299b07e8619d6e7117cc
parent9ff4d0afa5b9e9dc3a35b10e186fd833b72209c1
MLK-15958-2 spi: fsl_fspi: Add support for 4bytes address mode

Update the LUT settings, spi_xfer to use the 4bytes address read/write/erase
commands.
Also add a function to enter the 4bytes mode for flash device.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 704c1c357d5566e6b3a72c57427d90ba08f9ef0f)
(cherry picked from commit 24c5cdaa45fda19b885783054820f309c05bab16)
drivers/spi/fsl_fspi.c