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
7ead885e
Commit
7ead885e
authored
21 years ago
by
Ronald G. Minnich
Browse files
Options
Download
Email Patches
Plain Diff
Fix volatile
Corresponding to coreboot v1 svn r888.
parent
eaab50bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
am29f040b.c
am29f040b.c
+3
-3
No files found.
am29f040b.c
View file @
7ead885e
...
...
@@ -69,15 +69,15 @@ static __inline__ int write_sector_29f040b(volatile char * bios, unsigned char *
int
probe_29f040b
(
struct
flashchip
*
flash
)
{
volatile
char
*
bios
=
flash
->
virt_addr
;
volatile
unsigned
char
*
bios
=
flash
->
virt_addr
;
unsigned
char
id1
,
id2
;
*
(
bios
+
0x555
)
=
0xAA
;
*
(
bios
+
0x2AA
)
=
0x55
;
*
(
bios
+
0x555
)
=
0x90
;
id1
=
*
(
unsigned
char
*
)
bios
;
id2
=
*
(
unsigned
char
*
)
(
bios
+
0x01
);
id1
=
*
bios
;
id2
=
*
(
bios
+
0x01
);
*
bios
=
0xF0
;
...
...
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