Revert "spi: cadence_qspi: Fix odd byte write issue in STIG mode"
The buffer that is being used to write into the flash needs
to be handled properly with padding of 0xFF. The place that
this is done can be at a more generic place like spi-nor core.
This reverts commit cd91235070.
Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20250716070407.2082524-1-p-mantena@ti.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
committed by
Michal Simek
parent
ee56866f11
commit
e6345dfc2a
@@ -558,9 +558,6 @@ int cadence_qspi_apb_command_write(struct cadence_spi_priv *priv,
|
||||
void *reg_base = priv->regbase;
|
||||
u8 opcode;
|
||||
|
||||
if (priv->dtr)
|
||||
txlen += txlen & 1;
|
||||
|
||||
if (priv->dtr)
|
||||
opcode = op->cmd.opcode >> 8;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user