PReP bootloader VGA console
Hollis Blanchard
hollisb at us.ibm.com
Sat Aug 7 08:16:03 EST 2004
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/
More information about the Linuxppc-dev
mailing list