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
143da0ba
Commit
143da0ba
authored
19 years ago
by
Stefan Reinauer
Browse files
Options
Download
Email Patches
Plain Diff
Pass on return values
Corresponding to flashrom svn r39 and coreboot v2 svn r2151.
parent
3a431602
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
flash_rom.c
flash_rom.c
+4
-3
No files found.
flash_rom.c
View file @
143da0ba
...
...
@@ -147,6 +147,7 @@ int main(int argc, char *argv[])
write_it
=
0
,
erase_it
=
0
,
verify_it
=
0
;
int
ret
=
0
;
static
struct
option
long_options
[]
=
{
{
"read"
,
0
,
0
,
'r'
},
...
...
@@ -336,10 +337,10 @@ int main(int argc, char *argv[])
// ////////////////////////////////////////////////////////////
if
(
write_it
)
flash
->
write
(
flash
,
buf
);
ret
|=
flash
->
write
(
flash
,
buf
);
if
(
verify_it
)
verify_flash
(
flash
,
buf
);
ret
|=
verify_flash
(
flash
,
buf
);
return
0
;
return
ret
;
}
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