]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: fsl_qspi: Introduce is_controller_busy function
authorRajat Srivastava <rajat.srivastava@nxp.com>
Thu, 22 Mar 2018 08:00:55 +0000 (13:30 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 9 May 2018 14:17:51 +0000 (09:17 -0500)
commit1f553564116f47e4730e1cadbcf9bc24e550cfa6
tree34d8db44f8497dea48bdf07d411ecf6e9f28a75d
parenta43d46a73cb2c40481791cb292b8eb0b5a80d55e
spi: fsl_qspi: Introduce is_controller_busy function

Some SoCs have different endianness of QSPI IP if compared
to endianness of core. The function is_controller_busy()
checks if the QSPI controller is busy or not, considering
the endianness of the QSPI IP.

Signed-off-by: Rajat Srivastava <rajat.srivastava@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/spi/fsl_qspi.c