summaryrefslogtreecommitdiff
path: root/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-08-03 18:42:04 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-08 00:16:37 +0000
commit85e733f0ef010e0bdeaab8e6e5790763844f805e (patch)
treef20ab1e35f956315faff81d026df37dc61d06af0 /src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c
parentad38ac01823c9d2635b396e7dcb568076230935a (diff)
soc/amd/common/include/acpimmio: reduce visibility of GPIO MMIO access
Introduce amdblocks/acpimmio_legacy_gpio100.h so that the old pre-SoC chipsets can still access the raw GPIO100 and IOMUX ACPIMMIO registers while only allowing GPIO accesses through the GPIO API on the SoCs. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I18872dfa40d53ba8b0d7802eec52ede5e2ae617a Reviewed-on: https://review.coreboot.org/c/coreboot/+/56786 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c')
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c
index 8992594525..09695d4b85 100644
--- a/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <amdblocks/acpimmio.h>
+#include <amdblocks/acpimmio_legacy_gpio100.h>
#include <console/console.h>
#include <device/device.h>
#include <southbridge/amd/common/amd_pci_util.h>