scripts: add support for Sercomm kernel header
[openwrt/staging/dedeckeh.git] / scripts / slugimage.pl
index 8c0654d4f6f5e373646589e33fa438f0454bccf6..366b239e960fb3978f7f795a397e685c27d7fc79 100755 (executable)
@@ -772,7 +772,7 @@ sub writeOutFirmware {
                                 $_->{'name'}, $filename);
            }
 
-           # If the next parition is before the end of the current image, then rewind.
+           # If the next partition is before the end of the current image, then rewind.
            elsif ($_->{'offset'} < $end_point) {
                $debug and printf("Rewound %s before <%s> in \"%s\"\n",
                                  (($end_point - $_->{'offset'}) >= $block_size ?
@@ -971,7 +971,7 @@ if (!GetOptions("d|debug"       => \$debug,
     print "  [-b|--redboot]   <file>           Input/Output RedBoot filename\n";
     print "  [-s|--sysconf]   <file>           Input/Output SysConf filename\n";
     print "  [-L|--loader]    <file>           Second stage boot loader filename\n";
-    print "  [-k|--kernel]    <file>           Input/Ouptut Kernel filename\n";
+    print "  [-k|--kernel]    <file>           Input/Output Kernel filename\n";
     print "  [-r|--ramdisk]   <file>           Input/Output Ramdisk filename(s)\n";
     print "  [-f|--fisdir]    <file>           Input/Output FIS directory filename\n";
     print "  [-m|--microcode] <file>           Input/Output Microcode filename\n";