From fab518ba54dd33fb6b0a3c3fb067839bcd12dec4 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 15 Jun 2021 16:37:50 +0200 Subject: soc/amd/cezanne/acpi/mmio: use AOAC offset defines Even though the code is currently commented out, replace the magic numbers with the existing defines. Signed-off-by: Felix Held Change-Id: Id0dbbadf71f2e5a4d23ee998e2aa0a8b67205845 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55534 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel Reviewed-by: Marshall Dawson --- src/soc/amd/cezanne/acpi/mmio.asl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/soc/amd/cezanne/acpi/mmio.asl b/src/soc/amd/cezanne/acpi/mmio.asl index 0b4ba78e33..7b49b85e82 100644 --- a/src/soc/amd/cezanne/acpi/mmio.asl +++ b/src/soc/amd/cezanne/acpi/mmio.asl @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include #include #include #include @@ -88,7 +89,7 @@ Device (FUR0) } // TODO(b/183983959): Enable the AOAC register access later. - // AOAC_DEVICE(11, 0) + // AOAC_DEVICE(FCH_AOAC_DEV_UART0, 0) } Device (FUR1) { @@ -120,7 +121,7 @@ Device (FUR1) { } // TODO(b/183983959): Enable the AOAC register access later. - // AOAC_DEVICE(12, 0) + // AOAC_DEVICE(FCH_AOAC_DEV_UART1, 0) } Device (I2C0) { @@ -157,7 +158,7 @@ Device (I2C0) { } // TODO(b/183983959): Enable the AOAC register access later. - // AOAC_DEVICE(5, 0) + // AOAC_DEVICE(FCH_AOAC_DEV_I2C0, 0) } Device (I2C1) { @@ -194,7 +195,7 @@ Device (I2C1) { } // TODO(b/183983959): Enable the AOAC register access later. - // AOAC_DEVICE(6, 0) + // AOAC_DEVICE(FCH_AOAC_DEV_I2C1, 0) } Device (I2C2) { @@ -231,7 +232,7 @@ Device (I2C2) { } // TODO(b/183983959): Enable the AOAC register access later. - // AOAC_DEVICE(7, 0) + // AOAC_DEVICE(FCH_AOAC_DEV_I2C2, 0) } Device (I2C3) @@ -268,7 +269,7 @@ Device (I2C3) } // TODO(b/183983959): Enable the AOAC register access later. - // AOAC_DEVICE(8, 0) + // AOAC_DEVICE(FCH_AOAC_DEV_I2C3, 0) } Device (MISC) -- cgit v1.2.3