fixed a old bug in flash unlock
This commit is contained in:
parent
69a4cb8cbc
commit
dd2204d00d
2 changed files with 4 additions and 4 deletions
|
|
@ -49,8 +49,8 @@ main()
|
|||
b = inb(0x0cfc) | 0x0b;
|
||||
outb(b, 0xcfc);
|
||||
/* Flash write enable on SiS 540/630 */
|
||||
outl(0x80000844, 0x0cf8);
|
||||
b = inb(0x0cfd) | 0x40;
|
||||
outl(0x80000845, 0x0cf8);
|
||||
b = inb(0x0cfd) & 0x40;
|
||||
outb(b, 0xcfd);
|
||||
|
||||
/* The same thing on SiS 950 SuperIO side */
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@ int enable_flash_sis630 (void)
|
|||
b = inb(0x0cfc) | 0x0b;
|
||||
outb(b, 0xcfc);
|
||||
/* Flash write enable on SiS 540/630 */
|
||||
outl(0x80000844, 0x0cf8);
|
||||
b = inb(0x0cfd) | 0x40;
|
||||
outl(0x80000845, 0x0cf8);
|
||||
b = inb(0x0cfd) & 0x40;
|
||||
outb(b, 0xcfd);
|
||||
|
||||
/* The same thing on SiS 950 SuperIO side */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue