mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
fix(st-spi): remove SR_BUSY bit check before sending command
Waiting for SR_BUSY bit when receiving a new command is not needed. SR_BUSY bit is already managed in the previous command treatment. Change-Id: I736e8488d354cb165ae765022d864cca1dbdc9ee Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
This commit is contained in:
parent
55de58323e
commit
5993b9157f
1 changed files with 0 additions and 5 deletions
|
@ -251,11 +251,6 @@ static int stm32_qspi_exec_op(const struct spi_mem_op *op)
|
|||
op->dummy.buswidth, op->data.buswidth,
|
||||
op->addr.val, op->data.nbytes);
|
||||
|
||||
ret = stm32_qspi_wait_for_not_busy();
|
||||
if (ret != 0) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
addr_max = op->addr.val + op->data.nbytes + 1U;
|
||||
|
||||
if ((op->data.dir == SPI_MEM_DATA_IN) && (op->data.nbytes != 0U)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue