summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-06-15 16:37:50 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-06-16 16:38:37 +0000
commitfab518ba54dd33fb6b0a3c3fb067839bcd12dec4 (patch)
treecad44f62cefc8b5c7c44cca5043db9cbec190a88 /src/soc
parent117823e76fbbea0252b5874746b6bd1aa7609593 (diff)
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 <felix-coreboot@felixheld.de> Change-Id: Id0dbbadf71f2e5a4d23ee998e2aa0a8b67205845 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55534 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/cezanne/acpi/mmio.asl13
1 files 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 <soc/amd/common/acpi/aoac.asl>
+#include <soc/aoac_defs.h>
#include <soc/gpio.h>
#include <soc/iomap.h>
#include <amdblocks/acpimmio_map.h>
@@ -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)