aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parisc/stirom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parisc/stirom.c b/src/parisc/stirom.c
index b128551..4c41d7c 100644
--- a/src/parisc/stirom.c
+++ b/src/parisc/stirom.c
@@ -3582,6 +3582,10 @@ void sti_rom_init(void)
struct font *font_ptr, *font_next, *font_start;
int i;
+ /* STI ROM already initialized? */
+ if (sti_proc_rom.font_start)
+ return;
+
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.