]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GenVtf/GenVtf.c
BaseTools: Clean up source files
[mirror_edk2.git] / BaseTools / Source / C / GenVtf / GenVtf.c
index fc7ae02203ff9716133f65c46bab7401eb086dec..3a7ac0615606a341c46eb2b5a40515a5bb758097 100644 (file)
@@ -1,10 +1,10 @@
 /** @file\r
-This file contains functions required to generate a boot strap file (BSF) also \r
+This file contains functions required to generate a boot strap file (BSF) also\r
 known as the Volume Top File (VTF)\r
 \r
-Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available \r
-under the terms and conditions of the BSD License which accompanies this \r
+Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available\r
+under the terms and conditions of the BSD License which accompanies this\r
 distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
 \r
@@ -133,7 +133,7 @@ Returns:
     } else {\r
       memcpy (TemStr, Str + Length - 4, 4);\r
     }\r
-  \r
+\r
     sscanf (\r
       TemStr,\r
       "%02x%02x",\r
@@ -2362,7 +2362,7 @@ Returns:
       TokenAddress += BaseAddress &~IPF_CACHE_BIT;\r
 \r
       fprintf (DestFile, "%s | %016llX | ", Type, (unsigned long long) TokenAddress);\r
-      fprintf (DestFile, "%s | %s\n    %s\n", Section, Token, BaseToken); \r
+      fprintf (DestFile, "%s | %s\n    %s\n", Section, Token, BaseToken);\r
     }\r
   }\r
 \r
@@ -2479,7 +2479,7 @@ Returns:
   //\r
   // Copyright declaration\r
   //\r
-  fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n");\r
+  fprintf (stdout, "Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.\n\n");\r
   //\r
   // Details Option\r
   //\r
@@ -2628,7 +2628,7 @@ Returns:
       }\r
       continue;\r
     }\r
-    \r
+\r
     if ((stricmp (argv[Index], "-r") == 0) || (stricmp (argv[Index], "--baseaddr") == 0)) {\r
       if (FirstRoundB) {\r
         Status      = AsciiStringToUint64 (argv[Index + 1], FALSE, &StartAddress1);\r
@@ -2639,7 +2639,7 @@ Returns:
       if (Status != EFI_SUCCESS) {\r
         Error (NULL, 0, 2000, "Invalid option value", "%s is Bad FV start address.", argv[Index + 1]);\r
         goto ERROR;\r
-      }  \r
+      }\r
       continue;\r
     }\r
 \r
@@ -2649,7 +2649,7 @@ Returns:
         FirstRoundS = FALSE;\r
       } else {\r
         Status = AsciiStringToUint64 (argv[Index + 1], FALSE, &FwVolSize2);\r
-         SecondVTF = TRUE;\r
+        SecondVTF = TRUE;\r
       }\r
 \r
       if (Status != EFI_SUCCESS) {\r
@@ -2660,8 +2660,8 @@ Returns:
     }\r
 \r
     if ((stricmp (argv[Index], "-v") == 0) || (stricmp (argv[Index], "--verbose") == 0)) {\r
-           VerboseMode = TRUE;\r
-           Index--;\r
+      VerboseMode = TRUE;\r
+      Index--;\r
       continue;\r
     }\r
 \r
@@ -2729,7 +2729,7 @@ Returns:
     if (SecondVTF == TRUE) {\r
       OutFileName1 = VTF_OUTPUT_FILE1;\r
       OutFileName2 = VTF_OUTPUT_FILE2;\r
-         } else {\r
+    } else {\r
       OutFileName1 = VTF_OUTPUT_FILE1;\r
     }\r
     SymFileName = VTF_SYM_FILE;\r