]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Library/PrePiHobLib/Hob.c
EmbeddedPkg: Change OPTIONAL keyword usage style
[mirror_edk2.git] / EmbeddedPkg / Library / PrePiHobLib / Hob.c
index ba16899a918485fec4d6fee0f900c59edbae5fc1..69d899e3c724460b668ddaffe6963febf08a8328 100644 (file)
@@ -3,13 +3,7 @@
   Copyright (c) 2010, Apple Inc. All rights reserved.<BR>\r
   Copyright (c) 2017, 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
@@ -588,7 +582,7 @@ BuildFv3Hob (
   IN          UINT64                      Length,\r
   IN          UINT32                      AuthenticationStatus,\r
   IN          BOOLEAN                     ExtractedFv,\r
-  IN CONST    EFI_GUID                    *FvName, OPTIONAL\r
+  IN CONST    EFI_GUID                    *FvName  OPTIONAL,\r
   IN CONST    EFI_GUID                    *FileName OPTIONAL\r
   )\r
 {\r
@@ -818,7 +812,7 @@ BuildPeCoffLoaderHob (
   BuildGuidDataHob (&gPeCoffLoaderProtocolGuid, &Ptr, sizeof (VOID *));\r
 }\r
 \r
-// May want to put this into a library so you only need the PCD setings if you are using the feature?\r
+// May want to put this into a library so you only need the PCD settings if you are using the feature?\r
 VOID\r
 BuildMemoryTypeInformationHob (\r
   VOID\r
@@ -852,4 +846,3 @@ BuildMemoryTypeInformationHob (
 \r
   BuildGuidDataHob (&gEfiMemoryTypeInformationGuid, &Info, sizeof (Info));\r
 }\r
-\r