summaryrefslogtreecommitdiff
path: root/util/flashrom/udelay.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/udelay.c')
-rw-r--r--util/flashrom/udelay.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/flashrom/udelay.c b/util/flashrom/udelay.c
index 91c3c6dad5..1d0b42f039 100644
--- a/util/flashrom/udelay.c
+++ b/util/flashrom/udelay.c
@@ -18,7 +18,8 @@ void myusec_calibrate_delay()
struct timeval start, end;
int ok = 0;
- printf_debug("Setting up microsecond timing loop\n");
+ printf("Calibrating delay loop... ");
+
while (!ok) {
gettimeofday(&start, 0);
myusec_delay(count);
@@ -34,5 +35,6 @@ void myusec_calibrate_delay()
// compute one microsecond. That will be count / time
micro = count / timeusec;
- printf_debug("%ldM loops per second\n", (unsigned long)micro);
+ printf_debug("%ldM loops per second. ", (unsigned long)micro);
+ printf("ok\n");
}