summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/gardenia
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-12-17 18:51:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-12-20 09:50:36 +0000
commit1a811bcb3bdff68a5bc27d17557108f4259af93b (patch)
tree85a2bf3dd8e2de158c171e5112cf1c24e99c565a /src/mainboard/amd/gardenia
parent6ebb3b60a451b094376ddeff1c3b7b405190f62d (diff)
mb/amd/gardenia,padmelon;mb/google/kahlee: add missing soc/gpio includes
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ie716633bd7602d5e4a7e186aa9e444b7f70dab56 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60197 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/amd/gardenia')
-rw-r--r--src/mainboard/amd/gardenia/bootblock/bootblock.c1
-rw-r--r--src/mainboard/amd/gardenia/gpio.h2
-rw-r--r--src/mainboard/amd/gardenia/mainboard.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/amd/gardenia/bootblock/bootblock.c b/src/mainboard/amd/gardenia/bootblock/bootblock.c
index a480f362ed..0543c31ec2 100644
--- a/src/mainboard/amd/gardenia/bootblock/bootblock.c
+++ b/src/mainboard/amd/gardenia/bootblock/bootblock.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
+#include <soc/gpio.h>
#include <soc/southbridge.h>
#include "../gpio.h"
diff --git a/src/mainboard/amd/gardenia/gpio.h b/src/mainboard/amd/gardenia/gpio.h
index 3e9500dbe8..d01bdfd112 100644
--- a/src/mainboard/amd/gardenia/gpio.h
+++ b/src/mainboard/amd/gardenia/gpio.h
@@ -3,6 +3,8 @@
#ifndef MAINBOARD_GPIO_H
#define MAINBOARD_GPIO_H
+#include <soc/gpio.h>
+
const struct soc_amd_gpio *early_gpio_table(size_t *size);
const struct soc_amd_gpio *gpio_table(size_t *size);
diff --git a/src/mainboard/amd/gardenia/mainboard.c b/src/mainboard/amd/gardenia/mainboard.c
index ae72b33e43..459aeba8e8 100644
--- a/src/mainboard/amd/gardenia/mainboard.c
+++ b/src/mainboard/amd/gardenia/mainboard.c
@@ -4,6 +4,7 @@
#include <device/device.h>
#include <amdblocks/agesawrapper.h>
#include <amdblocks/amd_pci_util.h>
+#include <soc/gpio.h>
#include <soc/southbridge.h>
#include "gpio.h"