Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Evan Lojewski
ast2050-flashrom
Commits
4d32e789
Commit
4d32e789
authored
22 years ago
by
Ronald G. Minnich
Browse files
Options
Download
Email Patches
Plain Diff
Enhancements to make flash_rom easier
Corresponding to coreboot v1 svn r746.
parent
c73ad987
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
flash_rom.c
flash_rom.c
+2
-2
No files found.
flash_rom.c
View file @
4d32e789
...
...
@@ -205,7 +205,7 @@ unsigned long micro = 0;
void
myusec_calibrate_delay
()
{
unsigned
long
count
=
2
0
*
1024
*
1024
;
unsigned
long
count
=
1
0
*
1024
*
1024
;
volatile
unsigned
long
i
;
unsigned
long
timeusec
;
struct
timeval
start
,
end
;
...
...
@@ -221,7 +221,7 @@ myusec_calibrate_delay()
timeusec
=
1000000
*
(
end
.
tv_sec
-
start
.
tv_sec
)
+
(
end
.
tv_usec
-
start
.
tv_usec
);
fprintf
(
stderr
,
"timeusec is %d
\n
"
,
timeusec
);
count
*=
10
;
count
*=
10
0
;
if
(
timeusec
<
1000000
)
continue
;
ok
=
1
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment