patch-2.1.48 linux/arch/ppc/boot/misc.c

Next file: linux/arch/ppc/boot/mk_type41.c
Previous file: linux/arch/ppc/boot/inflate.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.47/linux/arch/ppc/boot/misc.c linux/arch/ppc/boot/misc.c
@@ -327,7 +327,7 @@
   _put_MSR(_get_MSR() & ~0x0030);
 
   vga_init(0xC0000000);
-  clear_screen();
+  /*clear_screen();*/
 
   output_ptr = 0;
 
@@ -373,93 +373,6 @@
 #endif
 }
 
-#if 0
-verify_ram()
-{
-  unsigned long loc;
-  puts("Clearing memory:");
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    *(unsigned long *)loc = 0x0;
-  }
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    if (*(unsigned long *)loc != 0x0)
-      {
-	puts(" - failed at ");
-	puthex(loc);
-	puts(": ");
-	puthex(*(unsigned long *)loc);
-	while (1);
-      }
-  }
-  puts("0");
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    *(unsigned long *)loc = 0xFFFFFFFF;
-  }
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    if (*(unsigned long *)loc != 0xFFFFFFFF)
-      {
-	puts(" - failed at ");
-	puthex(loc);
-	puts(": ");
-	puthex(*(unsigned long *)loc);
-	while (1);
-      }
-  }
-  puts("1");
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    *(unsigned long *)loc = loc;
-  }
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    if (*(unsigned long *)loc != loc)
-      {
-	puts(" - failed at ");
-	puthex(loc);
-	puts(": ");
-	puthex(*(unsigned long *)loc);
-	while (1);
-      }
-  }
-  puts("?");
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    *(unsigned long *)loc = 0xDEADB00B;
-  }
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    if (*(unsigned long *)loc != 0xDEADB00B)
-      {
-	puts(" - failed at ");
-	puthex(loc);
-	puts(": ");
-	puthex(*(unsigned long *)loc);
-	while (1);
-      }
-  }
-  puts(">");
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    *(unsigned long *)loc = 0x0;
-  }
-  for (loc = 0;  loc <= 0x400000;  loc += 4);
-  {
-    if (*(unsigned long *)loc != 0x0)
-      {
-	puts(" - failed at ");
-	puthex(loc);
-	puts(": ");
-	puthex(*(unsigned long *)loc);
-	while (1);
-      }
-  }
-  puts("\n");
-}
-
 do_cksum(unsigned long loc)
 {
   unsigned int ptr, cksum;
@@ -582,7 +495,6 @@
   }
   return (errors == 0);
 }
-#endif
 
 void puthex(unsigned long val)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov