You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
fix: [BTL-S] Remove TCC ACPI Platform code for BTL-S to match RPL-S
BTL-S TCC design matches RPL-S so there is no RTCT and no TCC tuning table. Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
This commit is contained in:
@@ -283,7 +283,7 @@ PlatformUpdateAcpiTable (
|
||||
VOID *FspHobList;
|
||||
PLATFORM_DATA *PlatformData;
|
||||
FEATURES_CFG_DATA *FeaturesCfgData;
|
||||
#if FixedPcdGet8 (PcdTccEnabled) && !defined(PLATFORM_RPLS) && !defined(PLATFORM_ADLN) && !defined(PLATFORM_ASL)
|
||||
#if FixedPcdGet8 (PcdTccEnabled) && !defined(PLATFORM_RPLS) && !defined(PLATFORM_BTLS) && !defined(PLATFORM_ADLN) && !defined(PLATFORM_ASL)
|
||||
TCC_CFG_DATA *TccCfgData;
|
||||
#endif
|
||||
EFI_STATUS Status;
|
||||
@@ -361,7 +361,7 @@ PlatformUpdateAcpiTable (
|
||||
} else if (Table->Signature == SIGNATURE_32 ('R', 'T', 'C', 'T')) {
|
||||
DEBUG ((DEBUG_INFO, "Find RTCT table\n"));
|
||||
|
||||
#if FixedPcdGet8 (PcdTccEnabled) && !defined(PLATFORM_RPLS) && !defined(PLATFORM_ADLN) && !defined(PLATFORM_ASL)
|
||||
#if FixedPcdGet8 (PcdTccEnabled) && !defined(PLATFORM_RPLS) && !defined(PLATFORM_BTLS) && !defined(PLATFORM_ADLN) && !defined(PLATFORM_ASL)
|
||||
TccCfgData = (TCC_CFG_DATA *) FindConfigDataByTag(CDATA_TCC_TAG);
|
||||
if ((TccCfgData != NULL) && (TccCfgData->TccEnable != 0)) {
|
||||
Status = UpdateAcpiRtctTable(Table);
|
||||
@@ -764,7 +764,7 @@ PlatformUpdateAcpiGnvs (
|
||||
UINT32 Data32;
|
||||
GPIO_GROUP GroupToGpeDwX[3];
|
||||
UINT32 GroupDw[3];
|
||||
#if FixedPcdGet8 (PcdTccEnabled) && !defined(PLATFORM_RPLS) && !defined(PLATFORM_ADLN) && !defined(PLATFORM_ASL)
|
||||
#if FixedPcdGet8 (PcdTccEnabled) && !defined(PLATFORM_RPLS) && !defined(PLATFORM_BTLS) && !defined(PLATFORM_ADLN) && !defined(PLATFORM_ASL)
|
||||
TCC_CFG_DATA *TccCfgData;
|
||||
CPUID_EXTENDED_TIME_STAMP_COUNTER_EDX Edx;
|
||||
CPUID_PROCESSOR_FREQUENCY_EBX Ebx;
|
||||
@@ -1317,7 +1317,7 @@ PlatformUpdateAcpiGnvs (
|
||||
SocUpdateAcpiGnvs ((VOID *)GnvsIn);
|
||||
|
||||
// TCC mode enabling
|
||||
#if FixedPcdGet8 (PcdTccEnabled) && !defined(PLATFORM_RPLS) && !defined(PLATFORM_ADLN) && !defined(PLATFORM_ASL)
|
||||
#if FixedPcdGet8 (PcdTccEnabled) && !defined(PLATFORM_RPLS) && !defined(PLATFORM_BTLS) && !defined(PLATFORM_ADLN) && !defined(PLATFORM_ASL)
|
||||
TccCfgData = (TCC_CFG_DATA *) FindConfigDataByTag(CDATA_FEATURES_TAG);
|
||||
if ((TccCfgData != NULL) && (TccCfgData->TccEnable != 0)) {
|
||||
AsmCpuid (CPUID_TIME_STAMP_COUNTER, NULL, &Ebx.Uint32, NULL, NULL);
|
||||
|
||||
Reference in New Issue
Block a user