soc/amd/picasso/acpi/sb_fch: use AOAC offset defines

Replace the magic numbers with the existing defines.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I2d98ea8c5bb0e487c7eef0b0a1cdada9cb04df4a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55532
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Felix Held 2021-06-15 16:25:46 +02:00
parent 038ed9eb7d
commit 3b46333b39
1 changed files with 7 additions and 6 deletions

View File

@ -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>
@ -122,7 +123,7 @@ Device (FUR0)
}
}
AOAC_DEVICE(11, 0)
AOAC_DEVICE(FCH_AOAC_DEV_UART0, 0)
}
Device (FUR1) {
@ -153,7 +154,7 @@ Device (FUR1) {
}
}
AOAC_DEVICE(12, 0)
AOAC_DEVICE(FCH_AOAC_DEV_UART1, 0)
}
Device (FUR2) {
@ -184,7 +185,7 @@ Device (FUR2) {
}
}
AOAC_DEVICE(16, 0)
AOAC_DEVICE(FCH_AOAC_DEV_UART2, 0)
}
Device (FUR3) {
@ -215,7 +216,7 @@ Device (FUR3) {
}
}
AOAC_DEVICE(26, 0)
AOAC_DEVICE(FCH_AOAC_DEV_UART3, 0)
}
Device (I2C2) {
@ -251,7 +252,7 @@ Device (I2C2) {
Return (0x0F)
}
AOAC_DEVICE(7, 0)
AOAC_DEVICE(FCH_AOAC_DEV_I2C2, 0)
}
Device (I2C3)
@ -287,7 +288,7 @@ Device (I2C3)
Return (0x0F)
}
AOAC_DEVICE(8, 0)
AOAC_DEVICE(FCH_AOAC_DEV_I2C3, 0)
}
Device (MISC)