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/picasso/acpi/sb_fch.asl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/soc/amd/picasso/acpi/sb_fch.asl') diff --git a/src/soc/amd/picasso/acpi/sb_fch.asl b/src/soc/amd/picasso/acpi/sb_fch.asl index 69c8b1b89a..32268da998 100644 --- a/src/soc/amd/picasso/acpi/sb_fch.asl +++ b/src/soc/amd/picasso/acpi/sb_fch.asl @@ -38,7 +38,7 @@ Device (GPIO) Memory32Fixed (ReadWrite, ACPIMMIO_GPIO0_BASE, 0x400) } CreateDWordField (Local0, IRQR._INT, IRQN) - If (PMOD) { + If (PICM) { IRQN = IGPI } Else { IRQN = PGPI @@ -73,7 +73,7 @@ Device (MMC0) Memory32Fixed (ReadWrite, APU_EMMC_BASE, 0x1000) } CreateDWordField (Local0, IRQR._INT, IRQN) - If (PMOD) { + If (PICM) { IRQN = IMMC } Else { IRQN = PMMC @@ -109,7 +109,7 @@ Device (FUR0) Memory32Fixed (ReadWrite, APU_DMAC0_BASE, 0x1000) } CreateDWordField (Local0, IRQR._INT, IRQN) - If (PMOD) { + If (PICM) { IRQN = IUA0 } Else { IRQN = PUA0 @@ -142,7 +142,7 @@ Device (FUR1) { Memory32Fixed (ReadWrite, APU_DMAC1_BASE, 0x1000) } CreateDWordField (Local0, IRQR._INT, IRQN) - If (PMOD) { + If (PICM) { IRQN = IUA1 } Else { IRQN = PUA1 @@ -175,7 +175,7 @@ Device (FUR2) { Memory32Fixed (ReadWrite, APU_DMAC2_BASE, 0x1000) } CreateDWordField (Local0, IRQR._INT, IRQN) - If (PMOD) { + If (PICM) { IRQN = IUA2 } Else { IRQN = PUA2 @@ -208,7 +208,7 @@ Device (FUR3) { Memory32Fixed (ReadWrite, APU_DMAC3_BASE, 0x1000) } CreateDWordField (Local0, IRQR._INT, IRQN) - If (PMOD) { + If (PICM) { IRQN = IUA3 } Else { IRQN = PUA3 @@ -240,7 +240,7 @@ Device (I2C2) { Memory32Fixed (ReadWrite, APU_I2C2_BASE, 0x1000) } CreateDWordField (Local0, IRQR._INT, IRQN) - If (PMOD) { + If (PICM) { IRQN = II22 } Else { IRQN = PI22 @@ -277,7 +277,7 @@ Device (I2C3) Memory32Fixed (ReadWrite, APU_I2C3_BASE, 0x1000) } CreateDWordField (Local0, IRQR._INT, IRQN) - If (PMOD) { + If (PICM) { IRQN = II23 } Else { IRQN = PI23 -- cgit v1.2.3