patch-2.4.22 linux-2.4.22/arch/ppc/boot/utils/mkbugboot.c

Next file: linux-2.4.22/arch/ppc/boot/utils/mknote.c
Previous file: linux-2.4.22/arch/ppc/boot/simple/misc-spruce.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/ppc/boot/utils/mkbugboot.c linux-2.4.22/arch/ppc/boot/utils/mkbugboot.c
@@ -1,8 +1,8 @@
 /*
  * arch/ppc/pp3boot/mkbugboot.c
- * 
- * Makes a Motorola PPCBUG ROM bootable image which can be flashed 
- * into one of the FLASH banks on a Motorola PowerPlus board. 
+ *
+ * Makes a Motorola PPCBUG ROM bootable image which can be flashed
+ * into one of the FLASH banks on a Motorola PowerPlus board.
  *
  * Author: Matt Porter <mporter@mvista.com>
  *
@@ -99,7 +99,7 @@
 {
   uint8_t header_block[HEADER_SIZE];
   bug_boot_header_t *bbh = (bug_boot_header_t *)&header_block[0];
-  
+
   memset(header_block, 0, HEADER_SIZE);
 
   /* Fill in the PPCBUG ROM boot header */
@@ -146,7 +146,7 @@
   }
 
   /* Get file args */
-  
+
   /* kernel image file */
     if ((image_fd = open( argv[argptr] , 0)) < 0)
       exit(-1);
@@ -182,7 +182,7 @@
   bugboot_fd = open(bugbootname, O_RDWR);
 
   /* Calculate checksum */
-  checksum = calc_checksum(bugboot_fd);  
+  checksum = calc_checksum(bugboot_fd);
 
   /* Write out the calculated checksum */
   write(bugboot_fd, &checksum, 2);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)