diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-01-25 16:48:51 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-01-27 11:19:38 +0000 |
commit | 3f2467032e3e40cd456d2d9fe5120a60283784aa (patch) | |
tree | 8db8ea086dd93f32b385c5eb0b4a9e7e3c122bf9 /src/soc/amd/picasso/acpi/sb_fch.asl | |
parent | 6dc6ee6e72bb302740ea50782981f17635dbf6e5 (diff) |
sb,soc/amd: Rename PMOD to PICM in ASL
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 <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49903
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/picasso/acpi/sb_fch.asl')
-rw-r--r-- | src/soc/amd/picasso/acpi/sb_fch.asl | 16 |
1 files changed, 8 insertions, 8 deletions
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 |