Hrvoje Čavrak uploaded patch set #2 to this change.

View Change

udelay.c: Enable providing delay calibration value through CLI

This commit implements --get-loop-delay/--set-loop-delay options to
retrieve and provide the calibration loop delay through the command
line. The delay calibration procedure can take up to few seconds,
which adds up when executed a number of times consecutively.
Therefore, this provides a means to execute it only once, and then
re-use the calibrated value on subsequent runs. Also, it implements
a sanity check, expecting the value to land within 10% of the
theoretical delay expectance, otherwise it ignores the provided
value and runs the calibration procedure instead.

Signed-off-by: Hrvoje Cavrak <hrvoje@hrvoje.org>
Change-Id: I7c9a491c5cb5fb3af56a691a0c6af9b53dcff550
---
M cli_classic.c
M flashrom.8.tmpl
M libflashrom.c
M programmer.h
M udelay.c
5 files changed, 60 insertions(+), 7 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/17/44517/2

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I7c9a491c5cb5fb3af56a691a0c6af9b53dcff550
Gerrit-Change-Number: 44517
Gerrit-PatchSet: 2
Gerrit-Owner: Hrvoje Čavrak <github@hrvoje.org>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-MessageType: newpatchset