From 325ffccbc7758b91b79b92b2f244ce2a88d075bf Mon Sep 17 00:00:00 2001 From: PaddyDeng Date: Tue, 29 Oct 2024 11:09:55 +0800 Subject: [PATCH] Minor fixes for #224 --- Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc | 1 + .../PlatformInit/PlatformInitPei/FspSupport.c | 9 ++++++++- .../PlatformInit/PlatformInitPei/FspSupportNull.c | 9 ++++++++- .../PlatformInitPei/PlatformInitPreMemNonFsp.inf | 1 + 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc index e94fd260ee..20b74242aa 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc @@ -171,6 +171,7 @@ MinPlatformPkg/PlatformInit/ReportFv/ReportFvPei.inf MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf + MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMemNonFsp.inf MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf MinPlatformPkg/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf MinPlatformPkg/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/FspSupport.c b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/FspSupport.c index 0ee337fa4e..0e489ad462 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/FspSupport.c +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/FspSupport.c @@ -1,3 +1,10 @@ +/** @file FspSupport.c + Provides FSP mode selection value based on PcdFspModeSelection + +Copyright (c) Microsoft Corporation. +SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + #include UINT8 @@ -7,4 +14,4 @@ FspGetModeSelection ( ) { return PcdGet8 (PcdFspModeSelection); -} \ No newline at end of file +} diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/FspSupportNull.c b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/FspSupportNull.c index 3afcca580f..cea5c8a9a4 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/FspSupportNull.c +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/FspSupportNull.c @@ -1,3 +1,10 @@ +/** @file FspSupportNull.c + Provides dummy FSP mode selection value that will always be 0. + +Copyright (c) Microsoft Corporation. +SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + #include UINT8 @@ -7,4 +14,4 @@ FspGetModeSelection ( ) { return 0; -} \ No newline at end of file +} diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMemNonFsp.inf b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMemNonFsp.inf index 14536019e6..53808ab86d 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMemNonFsp.inf +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMemNonFsp.inf @@ -2,6 +2,7 @@ # Component information file for the Platform Init Pre-Memory PEI module. # # Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent #