]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.c
BaseTools: Add a checking for Sources section in INF file
[mirror_edk2.git] / IntelFsp2WrapperPkg / FspmWrapperPeim / FspmWrapperPeim.c
index fa0441ce6c0eee9f54cb17ac5f90a2c35f240c78..265b77ed601a64baaaee9bb3f15de8303e6189ef 100644 (file)
@@ -4,13 +4,7 @@
   notify to call FspSiliconInit API.\r
 \r
   Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\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
@@ -157,7 +151,7 @@ FspmWrapperInit (
 \r
   Status = EFI_SUCCESS;\r
 \r
-  if (FixedPcdGet8 (PcdFspModeSelection) == 1) {\r
+  if (PcdGet8 (PcdFspModeSelection) == 1) {\r
     Status = PeiFspMemoryInit ();\r
     ASSERT_EFI_ERROR (Status);\r
   } else {\r