mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
Fix another volatile declaration
Corresponding to coreboot v1 svn r893.
This commit is contained in:
parent
7ead885e1c
commit
a01c0ed420
@ -92,7 +92,7 @@ int probe_29f040b (struct flashchip * flash)
|
|||||||
|
|
||||||
int erase_29f040b (struct flashchip * flash)
|
int erase_29f040b (struct flashchip * flash)
|
||||||
{
|
{
|
||||||
volatile char * bios = flash->virt_addr;
|
volatile unsigned char * bios = flash->virt_addr;
|
||||||
|
|
||||||
*(bios + 0x555) = 0xAA;
|
*(bios + 0x555) = 0xAA;
|
||||||
*(bios + 0x2AA) = 0x55;
|
*(bios + 0x2AA) = 0x55;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user