diff options
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | 2022-01-30 22:22:38 -0700 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2022-02-04 13:20:12 +0100 |
commit | a5a387a421105e671ee86a257eccf4d68aa1e7e7 (patch) | |
tree | c00ab3bca2b6069e866c91eeed453128ed4c2388 /drivers/ddr/fsl/mpc85xx_ddr_gen1.c | |
parent | 255537b5adbdfa9eb0fe750c79ad089e7c0e3990 (diff) |
spi: zynq_qspi: Read only one byte at a time from txbuf
Read only one byte at a time from txbuf as txbuf may not be
aligned and accessing more than a byte at a time may cause
alignment issues. This fixes the issue of data abort exception
while writing to flash device.
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Link: https://lore.kernel.org/r/20220131052240.23403-3-ashok.reddy.soma@xilinx.com
Diffstat (limited to 'drivers/ddr/fsl/mpc85xx_ddr_gen1.c')
0 files changed, 0 insertions, 0 deletions