linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PReP bootloader VGA console
@ 2004-08-06 22:16 Hollis Blanchard
  2004-08-09 23:23 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Hollis Blanchard @ 2004-08-06 22:16 UTC (permalink / raw)
  To: 'linuxppc-dev@lists.linuxppc.org' Development


This is the minimal patch needed to get the bootloader prompt on VGA
for PReP.

--- 1.1/arch/ppc/boot/simple/misc-prep.c        Mon Mar  1 17:34:28 2004
+++ edited/arch/ppc/boot/simple/misc-prep.c     Fri Aug  6 17:21:00 2004
@@ -89,6 +89,7 @@
         }

  #if defined(CONFIG_VGA_CONSOLE)
+       serial_fixups();
         vga_init((unsigned char *)0xC0000000);
  #endif /* CONFIG_VGA_CONSOLE */

Of course that looks funny doesn't it? "serial_fixups()" just sets
ISA_io, so should probably be called something else.

Also it's written in assembly in legacy.S (with matching chrpmap.S),
which could easily become prepmap.c and chrpmap.c.

Even better ISA_io could have a #define that's used in misc.c and
misc-prep.c...

But all of this would require more digging through makefiles and weak
aliases than it's probably worth.

--
Hollis Blanchard
IBM Linux Technology Center


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-24  2:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-06 22:16 PReP bootloader VGA console Hollis Blanchard
2004-08-09 23:23 ` Tom Rini
2004-08-24  2:14   ` Hollis Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).