Align the ACPI platform driver with the DT patching code, which only enables the IPMI/KCS device node on B1 silicon (or later).
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <[email protected]> --- Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c b/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c index 9b1428fc00eb..259a708b7c2c 100644 --- a/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c +++ b/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c @@ -172,7 +172,8 @@ InstallSystemDescriptionTables ( break; case SIGNATURE_64 ('S', 't', 'y', 'x', 'K', 'c', 's', ' '): - if (!FixedPcdGetBool (PcdEnableKcs)) { + if (!FixedPcdGetBool (PcdEnableKcs) || + (CpuId & STYX_SOC_VERSION_MASK) < STYX_SOC_VERSION_B1) { continue; } -- 2.19.2 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

