coreboot-kgpe-d16/src/soc
satya priya 60108fd89d sc7180: Fix for hang during DMA transfer in SPI-NOR flash driver
Transfer sequence used by SPI-Flash application present in CB/DC.
1. Assert CS through GPIO
2. Data transfer through QSPI (involves construction of command
   descriptor for multiple read/write transfers)
3. De-assert CS through GPIO.

With above sequence, in DMA mode we dont have the support for read
transfers that are not preceded by write transfer in QSPI controller.
Ex: "write read read read" sequence results in hang during DMA transfer,
where as "write read write read" sequence has no issue.

As we have application controlling CS through GPIO, we are making
fragment bit "set" for all transfers, which keeps CS in asserted
state although the ideal way to operate CS is through QSPI controller.

Change-Id: Ia45ab793ad05861b88e99a320b1ee9f10707def7
Signed-off-by: satya priya <skakit@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39807
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-11 23:58:47 +00:00
..
amd soc/amd/common/block/lpc: Reorganize LPC enable resources 2020-05-11 23:27:46 +00:00
cavium treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
intel soc/intel/quark: Revamp file headers 2020-05-11 19:37:58 +00:00
mediatek treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nvidia treewide: Replace BSD-3-Clause and ISC headers with SPDX headers 2020-05-11 17:12:16 +00:00
qualcomm sc7180: Fix for hang during DMA transfer in SPI-NOR flash driver 2020-05-11 23:58:47 +00:00
rockchip treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
samsung treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sifive treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ucb treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00