Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Guo Mang <[email protected]>
Reviewed-by: David Wei <[email protected]>
Reviewed-by: David Wei <[email protected]>
---
.../Common/Library/PlatformBootManagerLib/PlatformBootOption.c | 10 ++++------
.../Common/PlatformSettings/PlatformPostMemPei/BootMode.c | 10 +---------
.../SouthCluster/Library/Private/DxeScHdaLib/ScHdaLib.c | 10 +++++++---
3 files changed, 12 insertions(+), 18 deletions(-)
diff --git
a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootOption.c
b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootOption.c
index 0eec6ca..6ccecb2 100644
---
a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootOption.c
+++
b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootOption.c
@@ -519,12 +519,10 @@ RegisterDefaultBootOption (
//
// Shell.
//
- if (1) {
- ShellData = NULL;
- ShellDataSize = 0;
- RegisterFvBootOption (&gUefiShellFileGuid, INTERNAL_UEFI_SHELL_NAME,
(UINTN) -1, LOAD_OPTION_ACTIVE, (UINT8 *)ShellData, ShellDataSize);
- }
-
+ ShellData = NULL;
+ ShellDataSize = 0;
+ RegisterFvBootOption (&gUefiShellFileGuid, INTERNAL_UEFI_SHELL_NAME,
(UINTN) -1, LOAD_OPTION_ACTIVE, (UINT8 *)ShellData, ShellDataSize);
+
//
// UiApp.
//
diff --git
a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPostMemPei/BootMode.c
b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPostMemPei/BootMode.c
index c113097..6926445 100644
---
a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPostMemPei/BootMode.c
+++
b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPostMemPei/BootMode.c
@@ -1,7 +1,7 @@
/** @file
EFI PEIM to provide the platform support functionality.
- Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD
License
@@ -423,14 +423,6 @@ SetPlatformBootMode (
//
CopyMem (&PlatformSetupId.SetupName, SAFE_SETUP_NAME, StrSize
(SAFE_SETUP_NAME));
PlatformSetupId.PlatformBootMode = PLATFORM_SAFE_MODE;
-
- } else if (0) {
- //
- // Manufacturing mode
- //
- CopyMem (&PlatformSetupId.SetupName, MANUFACTURE_SETUP_NAME, StrSize
(MANUFACTURE_SETUP_NAME));
- PlatformSetupId.PlatformBootMode = PLATFORM_MANUFACTURING_MODE;
-
} else {
//
// Default to normal mode.
diff --git
a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Library/Private/DxeScHdaLib/ScHdaLib.c
b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Library/Private/DxeScHdaLib/ScHdaLib.c
index 028f6ee..d05395e 100644
---
a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Library/Private/DxeScHdaLib/ScHdaLib.c
+++
b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Library/Private/DxeScHdaLib/ScHdaLib.c
@@ -1,7 +1,7 @@
/** @file
SC HD Audio Library implementation.
- Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD
License
@@ -185,7 +185,9 @@ NhltFormatDump (
DEBUG ((DEBUG_INFO, " Format->FormatConfiguration.CapabilitiesSize = %d
B\n", Format->FormatConfiguration.CapabilitiesSize));
DEBUG ((DEBUG_INFO, " Format->FormatConfiguration.Capabilities:"));
for (i = 0; i < ( Format->FormatConfiguration.CapabilitiesSize ) ; i++) {
- if(i % 16 == 0) DEBUG ((DEBUG_INFO, "\n"));
+ if(i % 16 == 0) {
+ DEBUG ((DEBUG_INFO, "\n"));
+ }
DEBUG ((DEBUG_INFO, "0x%02x, ",
Format->FormatConfiguration.Capabilities[i]));
}
DEBUG ((DEBUG_INFO, "\n"));
@@ -260,7 +262,9 @@ NhltOedConfigDump (
DEBUG ((DEBUG_INFO, " OedConfig->CapabilitiesSize = %d B\n",
OedConfig->CapabilitiesSize));
DEBUG ((DEBUG_INFO, " OedConfig->Capabilities:"));
for (i = 0; i < (OedConfig->CapabilitiesSize) ; i++) {
- if(i % 16 == 0) DEBUG ((DEBUG_INFO, "\n"));
+ if(i % 16 == 0) {
+ DEBUG ((DEBUG_INFO, "\n"));
+ }
DEBUG ((DEBUG_INFO, "0x%02x, ", OedConfig->Capabilities[i]));
}
--
2.10.1.windows.1
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel