summaryrefslogtreecommitdiff
path: root/src/soc/intel/fsp_baytrail/acpi.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-30 13:00:16 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-10-05 05:06:56 +0000
commitd32efc9c7bdc9a5e35bf212d75b13c7ac95d1b98 (patch)
tree47449c9d9f7c8c5c752276652299b2d8f9c201b6 /src/soc/intel/fsp_baytrail/acpi.c
parentbeceea29d1beb791de7e49e7f4e274925635059d (diff)
downloadcoreboot-d32efc9c7bdc9a5e35bf212d75b13c7ac95d1b98.tar.xz
intel/fsp_baytrail: Rename from xx_DEV_FUNC
Intel adopted xx_DEVFN_xx naming for macros expanding to PCI_DEVFN() starting with apollolake. The ones named xx_DEV_FUNC are being renamed, or dropped, if they were generally not used at all for a platform. Change-Id: Id78e594ae6490d39df76317f8fc3381fe681dd6f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35732 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/fsp_baytrail/acpi.c')
-rw-r--r--src/soc/intel/fsp_baytrail/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/fsp_baytrail/acpi.c b/src/soc/intel/fsp_baytrail/acpi.c
index fb941ab24b..59dc6befa6 100644
--- a/src/soc/intel/fsp_baytrail/acpi.c
+++ b/src/soc/intel/fsp_baytrail/acpi.c
@@ -175,7 +175,7 @@ typedef struct soc_intel_fsp_baytrail_config config_t;
void acpi_fill_in_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
{
acpi_header_t *header = &(fadt->header);
- struct device *lpcdev = pcidev_path_on_root(FADT_SOC_LPC_DEVFN);
+ struct device *lpcdev = pcidev_path_on_root(PCH_DEVFN_LPC);
u16 pmbase = pci_read_config16(lpcdev, ABASE) & 0xfff0;
config_t *config = config_of(lpcdev);