From 5ea9660b3996ca9a78621f2685554824c519d42e Mon Sep 17 00:00:00 2001 From: Abdul Lateef Attar Date: Tue, 17 Sep 2024 07:32:35 +0000 Subject: [PATCH] AmdPlatformPkg: Fix stuart_ci_build failures Cc: Abner Chang Cc: Paul Grimes Signed-off-by: Abdul Lateef Attar --- Platform/AMD/AmdPlatformPkg/AmdPlatformPkg.dec | 2 +- .../DynamicTables/Library/Acpi/AcpiMadtLib/AcpiMadtLib.c | 6 +++--- .../Acpi/AcpiSsdtCpuTopologyLib/AcpiSsdtCpuTopologyLib.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Platform/AMD/AmdPlatformPkg/AmdPlatformPkg.dec b/Platform/AMD/AmdPlatformPkg/AmdPlatformPkg.dec index fbb2137c4a9..6be301fd77d 100644 --- a/Platform/AMD/AmdPlatformPkg/AmdPlatformPkg.dec +++ b/Platform/AMD/AmdPlatformPkg/AmdPlatformPkg.dec @@ -106,7 +106,7 @@ gAmdPlatformPkgTokenSpaceGuid.PcdAmdSmbiosType9SlotCharacteristics2.AsyncSurpriseRemoval|0 gAmdPlatformPkgTokenSpaceGuid.PcdAmdSmbiosType9SlotCharacteristics2.FlexbusSlotCxl10Capable|0 gAmdPlatformPkgTokenSpaceGuid.PcdAmdSmbiosType9SlotCharacteristics2.FlexbusSlotCxl20Capable|0 - gAmdPlatformPkgTokenSpaceGuid.PcdAmdSmbiosType9SlotCharacteristics2.Reserved|0 + gAmdPlatformPkgTokenSpaceGuid.PcdAmdSmbiosType9SlotCharacteristics2.FlexbusSlotCxl30Capable|0 # # SPI PCDs diff --git a/Platform/AMD/AmdPlatformPkg/DynamicTables/Library/Acpi/AcpiMadtLib/AcpiMadtLib.c b/Platform/AMD/AmdPlatformPkg/DynamicTables/Library/Acpi/AcpiMadtLib/AcpiMadtLib.c index 89bfad2e4c7..16e2849ad9d 100644 --- a/Platform/AMD/AmdPlatformPkg/DynamicTables/Library/Acpi/AcpiMadtLib/AcpiMadtLib.c +++ b/Platform/AMD/AmdPlatformPkg/DynamicTables/Library/Acpi/AcpiMadtLib/AcpiMadtLib.c @@ -149,7 +149,7 @@ GenerateLocalNmi ( **/ EFI_STATUS -GenerateIntrruptSourceOverride ( +GenerateinterruptSourceOverride ( IN OUT EFI_ACPI_6_5_INTERRUPT_SOURCE_OVERRIDE_STRUCTURE **InterruptSourceOverride, IN OUT UINTN *InterruptSourceOverrideSize ) @@ -343,7 +343,7 @@ GenerateProcessorLocalApicStructure ( } } - /// Increatement the NumSocket and ThreadsPerCore by 1, as it is 0 based + /// increment the NumSocket and ThreadsPerCore by 1, as it is 0 based NumSocket++; ThreadsPerCore++; @@ -704,7 +704,7 @@ AcpiMadtLibConstructor ( TableSize += IoApicSize; /// Generate Interrupt Source Override Structure - Status = GenerateIntrruptSourceOverride (&InterruptSourceOverride, &InterruptSourceOverrideSize); + Status = GenerateinterruptSourceOverride (&InterruptSourceOverride, &InterruptSourceOverrideSize); if (EFI_ERROR (Status)) { DEBUG (( DEBUG_ERROR, diff --git a/Platform/AMD/AmdPlatformPkg/DynamicTables/Library/Acpi/AcpiSsdtCpuTopologyLib/AcpiSsdtCpuTopologyLib.c b/Platform/AMD/AmdPlatformPkg/DynamicTables/Library/Acpi/AcpiSsdtCpuTopologyLib/AcpiSsdtCpuTopologyLib.c index 05659a3811a..b5ccb99eb57 100644 --- a/Platform/AMD/AmdPlatformPkg/DynamicTables/Library/Acpi/AcpiSsdtCpuTopologyLib/AcpiSsdtCpuTopologyLib.c +++ b/Platform/AMD/AmdPlatformPkg/DynamicTables/Library/Acpi/AcpiSsdtCpuTopologyLib/AcpiSsdtCpuTopologyLib.c @@ -141,7 +141,7 @@ GenerateApicIdToUidMap ( } } - // Increarement the SocketCount by 1 because socket numbering starts from 0 + // increment the SocketCount by 1 because socket numbering starts from 0 SocketCount++; if (SocketCount > 1) {