diff options
author | Marek Vasut <marex@denx.de> | 2016-04-27 23:18:55 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-05-06 18:41:49 +0200 |
commit | 26da6353e17111d7f0882866950cf26a679b8d5f (patch) | |
tree | 4d7f177d994f6f189869a3c75bae40655b92c4f1 /doc/README.gpt | |
parent | 8b1a07493f0ad56fafaccce640a0403500e57a78 (diff) | |
download | talos-obmc-uboot-26da6353e17111d7f0882866950cf26a679b8d5f.tar.gz talos-obmc-uboot-26da6353e17111d7f0882866950cf26a679b8d5f.zip |
mtd: cqspi: Simplify indirect write code
The indirect write code is buggy pile of nastiness which fails horribly
when the system runs fast enough to saturate the controller. The failure
results in some pages (256B) not being written to the flash. This can be
observed on systems which run with Dcache enabled and L2 cache enabled,
like the Altera SoCFPGA.
This patch replaces the whole unmaintainable indirect write implementation
with the one from upcoming Linux CQSPI driver, which went through multiple
rounds of thorough review and testing. While this makes the patch look
terrifying and violates all best-practices of software development, all
the patch does is it plucks out duplicate ad-hoc code distributed across
the driver and replaces it with more compact code doing exactly the same
thing.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Jagan Teki <jteki@openedev.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Vignesh R <vigneshr@ti.com>
Diffstat (limited to 'doc/README.gpt')
0 files changed, 0 insertions, 0 deletions