sw_apps:zynqmp_fsbl: Corrected the ReadBuffer index value
This patch points to the correct readbuffer index value in SendBankSelect API, when bank register read command is issued for a SPANSION device in 24-bit mode. Signed-off-by: RamyaSree <rdarapun@xilinx.com> Acked-by: Sarat Chand Savitala <saratcha@xilinx.com>
This commit is contained in:
parent
158f2cec4f
commit
33124005bd
1 changed files with 2 additions and 2 deletions
|
@ -494,9 +494,9 @@ static int SendBankSelect(u32 BankSel)
|
||||||
goto END;
|
goto END;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ReadBuffer[1] != BankSel) {
|
if (ReadBuffer[0] != BankSel) {
|
||||||
XFsbl_Printf(DEBUG_INFO, "Bank Select %d != Register Read %d\n\r", BankSel,
|
XFsbl_Printf(DEBUG_INFO, "Bank Select %d != Register Read %d\n\r", BankSel,
|
||||||
ReadBuffer[1]);
|
ReadBuffer[0]);
|
||||||
Status = XFSBL_ERROR_QSPI_READ;
|
Status = XFSBL_ERROR_QSPI_READ;
|
||||||
XFsbl_Printf(DEBUG_GENERAL,"XFSBL_ERROR_QSPI_READ\r\n");
|
XFsbl_Printf(DEBUG_GENERAL,"XFSBL_ERROR_QSPI_READ\r\n");
|
||||||
goto END;
|
goto END;
|
||||||
|
|
Loading…
Add table
Reference in a new issue