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
394d1374
Commit
394d1374
authored
19 years ago
by
Stefan Reinauer
Browse files
Options
Download
Email Patches
Plain Diff
Compilation fix for gcc 4.0.2 (SUSE10)
Corresponding to flashrom svn r50 and coreboot v2 svn r2220.
parent
8cf74b4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sst49lf040.c
sst49lf040.c
+2
-2
No files found.
sst49lf040.c
View file @
394d1374
...
...
@@ -60,12 +60,12 @@ int write_49lf040(struct flashchip *flash, uint8_t *buf)
erase_sector_jedec
(
bios
,
i
*
page_size
);
/* write to the sector */
if
(
i
&
0xfff
==
0xfff
)
if
(
(
i
&
0xfff
)
==
0xfff
)
printf
(
"%04d at address: 0x%08x "
,
i
,
i
*
page_size
);
write_sector_jedec
(
bios
,
buf
+
i
*
page_size
,
bios
+
i
*
page_size
,
page_size
);
if
(
i
&
0xfff
==
0xfff
)
if
(
(
i
&
0xfff
)
==
0xfff
)
printf
(
"
\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
"
);
fflush
(
stdout
);
}
...
...
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