summaryrefslogtreecommitdiff
path: root/src/cpu/amd/pi/00630F01
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-10-23 13:48:35 +0200
committerMartin Roth <martinroth@google.com>2019-10-27 18:05:38 +0000
commit2c34892efd0aa2dd4491db81e63c9596502753b3 (patch)
tree45bc52c8710bc22974ac33829d91e34be2cc5f37 /src/cpu/amd/pi/00630F01
parent6df210b0c23b28bd3758fc8871b99752c9c825e9 (diff)
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36258 Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/amd/pi/00630F01')
-rw-r--r--src/cpu/amd/pi/00630F01/acpi/cpu.asl135
1 files changed, 45 insertions, 90 deletions
diff --git a/src/cpu/amd/pi/00630F01/acpi/cpu.asl b/src/cpu/amd/pi/00630F01/acpi/cpu.asl
index ef71a0fd5b..68e6e97bf3 100644
--- a/src/cpu/amd/pi/00630F01/acpi/cpu.asl
+++ b/src/cpu/amd/pi/00630F01/acpi/cpu.asl
@@ -11,94 +11,49 @@
* GNU General Public License for more details.
*/
- /*
- * Processor Object
- *
- */
- Scope (\_PR) { /* define processor scope */
- Processor(
- P000, /* name space name */
- 0, /* Unique core number for this processor within a socket */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
+/*
+ * Processor Object
+ *
+ */
+Scope (\_PR) { /* define processor scope */
+
+ Device (P000) {
+ Name(_HID, "ACPI0007")
+ Name(_UID, 0)
+ }
+
+ Device (P001) {
+ Name(_HID, "ACPI0007")
+ Name(_UID, 1)
+ }
+
+ Device (P002) {
+ Name(_HID, "ACPI0007")
+ Name(_UID, 2)
+ }
+
+ Device (P003) {
+ Name(_HID, "ACPI0007")
+ Name(_UID, 3)
+ }
+
+ Device (P004) {
+ Name(_HID, "ACPI0007")
+ Name(_UID, 4)
+ }
+
+ Device (P005) {
+ Name(_HID, "ACPI0007")
+ Name(_UID, 5)
+ }
+
+ Device (P006) {
+ Name(_HID, "ACPI0007")
+ Name(_UID, 6)
+ }
- Processor(
- P001, /* name space name */
- 1, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P002, /* name space name */
- 2, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P003, /* name space name */
- 3, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P004, /* name space name */
- 4, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P005, /* name space name */
- 5, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P006, /* name space name */
- 6, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P007, /* name space name */
- 7, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P008, /* name space name */
- 8, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P009, /* name space name */
- 9, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P010, /* name space name */
- 10, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- Processor(
- P011, /* name space name */
- 11, /* Unique core number for this processor within a socket */
- 0x0810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
- }
- } /* End _PR scope */
+ Device (P007) {
+ Name(_HID, "ACPI0007")
+ Name(_UID, 7)
+ }
+} /* End _PR scope */