mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-06-14 04:16:15 -07:00
Remove PCD for OSL corruption tool
Removes PCD for OSL corruption tool so that it doesn't accidentally get enabled in production code Signed-off-by: Sean McGinn <sean.mcginn@intel.com>
This commit is contained in:
@@ -328,6 +328,4 @@
|
||||
# Control if X2APIC should be used or not
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdCpuX2ApicEnabled | FALSE | BOOLEAN | 0x20000220
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdTccEnabled | FALSE | BOOLEAN | 0x20000221
|
||||
# This PCD will enable the SBL component corruption command
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdCmdCorruptShellAppEnabled | FALSE | BOOLEAN | 0x20000222
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdFspNoEop | FALSE | BOOLEAN | 0x20000223
|
||||
|
||||
@@ -57,10 +57,5 @@ LoadShellCommands (
|
||||
}
|
||||
}
|
||||
|
||||
if (FeaturePcdGet (PcdCmdCorruptShellAppEnabled)) {
|
||||
// SBL component corruption command
|
||||
ShellCommandRegister (Shell, &ShellCommandCorruptComp);
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -87,7 +87,6 @@
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdMiniShellEnabled
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdConsoleInDeviceMask
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdBootPerformanceMask
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdCmdCorruptShellAppEnabled
|
||||
|
||||
[Guids]
|
||||
gLoaderPerformanceInfoGuid
|
||||
|
||||
@@ -579,7 +579,7 @@ UpdateFspConfig (
|
||||
DEBUG ((DEBUG_ERROR, "Unsupported PCH.\n"));
|
||||
}
|
||||
|
||||
if (GetBootMode () != BOOT_ON_FLASH_UPDATE && !PcdGetBool (PcdCmdCorruptShellAppEnabled)) {
|
||||
if (GetBootMode () != BOOT_ON_FLASH_UPDATE) {
|
||||
BiosProtected = FALSE;
|
||||
PrIndex = 0;
|
||||
Status = SpiGetRegionAddress (FlashRegionBios, &BaseAddress, &TotalSize);
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
gPlatformModuleTokenSpaceGuid.PcdFastBootEnabled
|
||||
gPlatformModuleTokenSpaceGuid.PcdSblResiliencyEnabled
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdMeasuredBootEnabled
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdCmdCorruptShellAppEnabled
|
||||
|
||||
[FixedPcd]
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdTccEnabled
|
||||
|
||||
Reference in New Issue
Block a user