1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

Fix whitespace errors

Change-Id: Ic2d3bb9d8581a0471a8568a130f893b34dddf113
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/25380
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Elyes HAOUAS
2018-03-27 12:15:09 +02:00
committed by Nico Huber
parent 3f7e341988
commit 124ef38f7a
15 changed files with 26 additions and 26 deletions

View File

@ -170,7 +170,7 @@ recalibrate:
/* Avoid division by zero, but in that case the loop is shot anyway. */
if (!timeusec)
timeusec = 1;
/* Compute rounded up number of loops per microsecond. */
micro = (count * micro) / timeusec + 1;
msg_pdbg("%luM loops per second, ", micro);
@ -183,7 +183,7 @@ recalibrate:
for (i = 0; i < 4; i++) {
if (resolution && (resolution < 10)) {
timeusec = measure_delay(100);
} else if (resolution &&
} else if (resolution &&
(resolution < ULONG_MAX / 200)) {
timeusec = measure_delay(resolution * 10) *
100 / (resolution * 10);