]> git.baikalelectronics.ru Git - uboot.git/commit
spi: fix: Call mxs_reset_block() during DM/DTS probe
authorLukasz Majewski <lukma@denx.de>
Thu, 5 Sep 2019 07:54:57 +0000 (09:54 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000 (16:36 +0200)
commit1498b462733b081932828acd739a53817a283e15
treea0c841381724f46a4e0d0870667e30304439327c
parentf8b45327179dcda982d0c973aa8d43453e4bbcf9
spi: fix: Call mxs_reset_block() during DM/DTS probe

Without this change the DM/DTS version of mxs_spi driver doesn't reset the
SPI IP block in probe.
As a result this driver (when used solely on U-Boot proper) relies on reset
performed by mxs spi driver in SPL.

In the use case where eMMC is used in SPL as a boot primary device, the
mxs_reset_block() is not called at all and DM/DTS aware SPI driver in
U-Boot proper is malfunctioning.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
drivers/spi/mxs_spi.c