diff options
Diffstat (limited to 'src/parisc')
-rw-r--r-- | src/parisc/hppa.h | 2 | ||||
-rw-r--r-- | src/parisc/stirom.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/parisc/hppa.h b/src/parisc/hppa.h index e14f67e..ab68f63 100644 --- a/src/parisc/hppa.h +++ b/src/parisc/hppa.h @@ -440,6 +440,8 @@ void cpuid(u32 index, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx); // pci.c unsigned long elroy_offset(u16 bdf); void *elroy_port(unsigned long port, unsigned long offs); +// pciinit.c +unsigned long add_lmmio_directed_range(unsigned long size, int rope); #endif // !__ASSEMBLY__ #endif diff --git a/src/parisc/stirom.c b/src/parisc/stirom.c index 99c50b9..99461d2 100644 --- a/src/parisc/stirom.c +++ b/src/parisc/stirom.c @@ -3590,6 +3590,9 @@ void sti_rom_init(void) if (sti_proc_rom.font_start) return; + /* allocate first LMMIO range for STI when running on Astro */ + add_lmmio_directed_range(0x2000000, 0); + sti_rom_size = (_sti_rom_end - _sti_rom_start) / 4096; if (sti_region_list[0].region_desc.length != sti_rom_size) { /* The STI ROM size is wrong. Try to fix it. |