Attention is currently required from: Nico Huber.

Angel Pons uploaded patch set #2 to this change.

View Change

nicintel_spi.c: Cache FLA register value

Only read the FLA register to get the state of MISO, and when requesting
and releasing the bus. This is an optimisation to speed things up.

Tested on a 8086:1533 (i210 GbE), reads still return the same data.
This cuts the time to read a Winbond W25Q80.V (1 MiB, SPI) from 48
seconds down to 33 seconds, i.e. a 45% increase in speed.

Change-Id: I4013a71ec498be977f62fe2531ac8770bfffadcd
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
---
M nicintel_spi.c
1 file changed, 30 insertions(+), 40 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/20/55720/2

To view, visit change 55720. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I4013a71ec498be977f62fe2531ac8770bfffadcd
Gerrit-Change-Number: 55720
Gerrit-PatchSet: 2
Gerrit-Owner: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-CC: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-MessageType: newpatchset