From 2c34892efd0aa2dd4491db81e63c9596502753b3 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 23 Oct 2019 13:48:35 +0200 Subject: cpu/amd/*/*/acpi/: Use 'Device()' instead of 'Processor()' Processor() operator is deprecated, use Device() instead. Found-by: ACPICA 20191018 Change-Id: I4541372a98f05d3e915c74bc28f41309754014e4 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/36258 Reviewed-by: Martin Roth Reviewed-by: Duncan Laurie Tested-by: build bot (Jenkins) --- src/cpu/amd/agesa/family14/acpi/cpu.asl | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'src/cpu/amd/agesa/family14/acpi') diff --git a/src/cpu/amd/agesa/family14/acpi/cpu.asl b/src/cpu/amd/agesa/family14/acpi/cpu.asl index 81b5a3550a..98b0193c77 100644 --- a/src/cpu/amd/agesa/family14/acpi/cpu.asl +++ b/src/cpu/amd/agesa/family14/acpi/cpu.asl @@ -16,19 +16,14 @@ * */ Scope (\_PR) { /* define processor scope */ - Processor( - C000, /* name space name, align with BLDCFG_PROCESSOR_SCOPE_NAME[01] */ - 0, /* Unique number for this processor */ - 0x810, /* PBLK system I/O address !hardcoded! */ - 0x06 /* PBLKLEN for boot processor */ - ) { + + Device (C000) { + Name (_HID, "ACPI0007") + Name (_UID, 0) } - Processor( - C001, /* name space name */ - 1, /* Unique number for this processor */ - 0x810, /* PBLK system I/O address !hardcoded! */ - 0x06 /* PBLKLEN for boot processor */ - ) { + Device (C001) { + Name (_HID, "ACPI0007") + Name (_UID, 1) } } /* End _PR scope */ -- cgit v1.2.3