From 3f2467032e3e40cd456d2d9fe5120a60283784aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 25 Jan 2021 16:48:51 +0200 Subject: sb,soc/amd: Rename PMOD to PICM in ASL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the same variable name as soc/intel to implement a common _PIC method at top-level ASL. Change-Id: I48f9e224d6d0101c2101be99cd18ff382738f0dd Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/49903 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/stoneyridge/acpi/northbridge.asl | 12 ++++++------ src/soc/amd/stoneyridge/acpi/pci_int.asl | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/soc/amd/stoneyridge') diff --git a/src/soc/amd/stoneyridge/acpi/northbridge.asl b/src/soc/amd/stoneyridge/acpi/northbridge.asl index 5a052e70c5..042f66a4e1 100644 --- a/src/soc/amd/stoneyridge/acpi/northbridge.asl +++ b/src/soc/amd/stoneyridge/acpi/northbridge.asl @@ -20,7 +20,7 @@ Method(_STA, 0, NotSerialized) Method(_PRT,0, NotSerialized) { - If(PMOD) + If(PICM) { Return(APR0) /* APIC mode */ } @@ -40,7 +40,7 @@ Device(IGFX) { Device(PBR4) { Name(_ADR, 0x00020001) Method(_PRT,0) { - If(PMOD){ Return(APS4) } /* APIC mode */ + If(PICM){ Return(APS4) } /* APIC mode */ Return (PS4) /* PIC Mode */ } /* end _PRT */ } /* end PBR4 */ @@ -49,7 +49,7 @@ Device(PBR4) { Device(PBR5) { Name(_ADR, 0x00020002) Method(_PRT,0) { - If(PMOD){ Return(APS5) } /* APIC mode */ + If(PICM){ Return(APS5) } /* APIC mode */ Return (PS5) /* PIC Mode */ } /* end _PRT */ } /* end PBR5 */ @@ -58,7 +58,7 @@ Device(PBR5) { Device(PBR6) { Name(_ADR, 0x00020003) Method(_PRT,0) { - If(PMOD){ Return(APS6) } /* APIC mode */ + If(PICM){ Return(APS6) } /* APIC mode */ Return (PS6) /* PIC Mode */ } /* end _PRT */ } /* end PBR6 */ @@ -67,7 +67,7 @@ Device(PBR6) { Device(PBR7) { Name(_ADR, 0x00020004) Method(_PRT,0) { - If(PMOD){ Return(APS7) } /* APIC mode */ + If(PICM){ Return(APS7) } /* APIC mode */ Return (PS7) /* PIC Mode */ } /* end _PRT */ } /* end PBR7 */ @@ -76,7 +76,7 @@ Device(PBR7) { Device(PBR8) { Name(_ADR, 0x00020005) Method(_PRT,0) { - If(PMOD){ Return(APS8) } /* APIC mode */ + If(PICM){ Return(APS8) } /* APIC mode */ Return (PS8) /* PIC Mode */ } /* end _PRT */ } /* end PBR8 */ diff --git a/src/soc/amd/stoneyridge/acpi/pci_int.asl b/src/soc/amd/stoneyridge/acpi/pci_int.asl index 0f3d882a8b..bd29ebb71f 100644 --- a/src/soc/amd/stoneyridge/acpi/pci_int.asl +++ b/src/soc/amd/stoneyridge/acpi/pci_int.asl @@ -109,7 +109,7 @@ { \_SB.CIRQ() } - Store(Arg0, PMOD) + Store(Arg0, PICM) } Method(CIRQ, 0x00, NotSerialized){ -- cgit v1.2.3