summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/torpedo
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-10-24 14:59:48 +0200
committerMartin Roth <martinroth@google.com>2019-10-27 18:07:10 +0000
commitaf84368591076936f3059b080950e47939ca48fc (patch)
tree07b60b92b11aedf7c9bfd8ec4a7905996191d523 /src/mainboard/amd/torpedo
parent2c34892efd0aa2dd4491db81e63c9596502753b3 (diff)
downloadcoreboot-af84368591076936f3059b080950e47939ca48fc.tar.xz
mb/amd: Use 'Device()' instead of 'Processor()'
Processor() operator is deprecated, use Device() instead. Change-Id: Ia1d73806b00ec38084fff3989f52227d4c216e65 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36302 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/amd/torpedo')
-rw-r--r--src/mainboard/amd/torpedo/dsdt.asl36
1 files changed, 12 insertions, 24 deletions
diff --git a/src/mainboard/amd/torpedo/dsdt.asl b/src/mainboard/amd/torpedo/dsdt.asl
index 9626ec66fa..48f8e1fe30 100644
--- a/src/mainboard/amd/torpedo/dsdt.asl
+++ b/src/mainboard/amd/torpedo/dsdt.asl
@@ -45,33 +45,21 @@ DefinitionBlock (
*
*/
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)
}
- Processor(
- C002, /* name space name */
- 2, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C002) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 2)
}
- Processor(
- C003, /* name space name */
- 3, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C003) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 3)
}
} /* End _PR scope */