add 256KB flash support for SiS 550
This commit is contained in:
parent
f6ff7bc4e2
commit
b609cf717d
2 changed files with 4 additions and 2 deletions
|
|
@ -366,11 +366,15 @@ spl_vector:
|
|||
.byte 0xea # jmp to 8000:0000, where SPL
|
||||
.word 0x0000, SPL_RAM_SEG # (LinuxBIOS) starts in RAM
|
||||
|
||||
#ifdef STD_FLASH
|
||||
.org 0xffff
|
||||
#else /* !STD_FLASH i.e. DoC Mil */
|
||||
#if (USE_DOC_MIL == 1)
|
||||
.org 0x1ff
|
||||
#elif (USE_DOC_2000_TSOP == 1) || (USE_DOC_MIL_PLUS == 1)
|
||||
.org 0x3ff
|
||||
#endif
|
||||
#endif
|
||||
|
||||
end:
|
||||
hlt
|
||||
|
|
|
|||
|
|
@ -145,7 +145,6 @@ void nvram_on()
|
|||
}
|
||||
printk_debug("Now try to turn off shadow\n");
|
||||
|
||||
#if !defined(STD_FLASH)
|
||||
/* turn off nvram shadow in 0xc0000 ~ 0xfffff, i.e. accessing segment C - F
|
||||
is actually to the DRAM not NVRAM. For 512KB NVRAM case, this one should be
|
||||
disabled */
|
||||
|
|
@ -163,7 +162,6 @@ void nvram_on()
|
|||
printk_debug("Shadow memory disabled in SiS 550\n");
|
||||
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/* serial_irq_fixup: Enable Serial Interrupt. Serial interrupt is the IRQ line from SiS 950
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue