]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/OptionRom.py
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / OptionRom.py
index bb7071fa7fca36df97b8eaca0ac8d915620193f4..61d669de8d0862e51c9f2873a51bbd709a1ee9ce 100644 (file)
@@ -3,13 +3,7 @@
 #\r
 #  Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
-#  This program and the accompanying materials\r
-#  are licensed and made available under the terms and conditions of the BSD License\r
-#  which accompanies this distribution.  The full text of the license may be found at\r
-#  http://opensource.org/licenses/bsd-license.php\r
-#\r
-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 \r
 ##\r
@@ -26,8 +20,6 @@ from Common.Misc import SaveFileOnChange
 from Common import EdkLogger\r
 from Common.BuildToolError import *\r
 \r
-T_CHAR_LF = '\n'\r
-\r
 ##\r
 #\r
 #\r
@@ -36,9 +28,9 @@ class OPTIONROM (OptionRomClassObject):
     #\r
     #   @param  self        The object pointer\r
     #\r
-    def __init__(self):\r
+    def __init__(self, Name = ""):\r
         OptionRomClassObject.__init__(self)\r
-\r
+        self.DriverName = Name\r
 \r
     ## AddToBuffer()\r
     #\r