Hrvoje Čavrak uploaded patch set #3 to this 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/3
To view, visit change 44517. To unsubscribe, or for help writing mail filters, visit settings.