]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2Pkg/Tools/PatchFv.py
IntelFsp2Pkg: Clean up source files
[mirror_edk2.git] / IntelFsp2Pkg / Tools / PatchFv.py
index fc2ee19bcdda29b946dcb317aa520448aa5a8739..b7bcfe6ab4c233d684e30281564c8c9a60402a61 100644 (file)
@@ -1,6 +1,6 @@
 ## @ PatchFv.py\r
 #\r
-# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials are licensed and made available under\r
 # the terms and conditions of the BSD License that accompanies this distribution.\r
 # The full text of the license may be found at\r
@@ -136,8 +136,8 @@ class Symbols:
         fvInfo['Offset']  = self.getFvOffsetInFd(fvFile)\r
         fvInfo['Size']    = readDataFromFile (fvFile, 0x20, 4)\r
         fdIn        = open(infFile, "r")\r
-        rptLines    = fdIn.readlines() \r
-        fdIn.close()       \r
+        rptLines    = fdIn.readlines()\r
+        fdIn.close()\r
         fvInfo['Base'] = 0\r
         for rptLine in rptLines:\r
             match = re.match("^EFI_BASE_ADDRESS\s*=\s*(0x[a-fA-F0-9]+)", rptLine)\r
@@ -289,7 +289,7 @@ class Symbols:
     #\r
     def parseInfFile(self, infFile):\r
         #\r
-        # Get FV offset and search EFI_BASE_ADDRESS in the FD file \r
+        # Get FV offset and search EFI_BASE_ADDRESS in the FD file\r
         # then assign the value of EFI_BASE_ADDRESS to fdBase\r
         #\r
         fvOffset    = self.getFvOffsetInFd(infFile[0:-4] + ".Fv")\r