summaryrefslogtreecommitdiffstats
path: root/src/mainboard/amd/persimmon
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-03-23 22:38:04 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-03-25 20:06:23 +0000
commitf128adda88350a4c394978b4409fda3565d9422e (patch)
tree30b1255530b579e2422f48eb0992458686d51e15 /src/mainboard/amd/persimmon
parentee1641f066b68eb6dd008728ae8f791eba795dcd (diff)
downloadcoreboot-f128adda88350a4c394978b4409fda3565d9422e.tar.gz
coreboot-f128adda88350a4c394978b4409fda3565d9422e.tar.bz2
coreboot-f128adda88350a4c394978b4409fda3565d9422e.zip
mb/*/BiosCallOuts.c: Fix unused variable
This fixes clang builds. Change-Id: Ie09fae149a9530ad45f0cd5945e73f46484ef385 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63055 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/amd/persimmon')
-rw-r--r--src/mainboard/amd/persimmon/BiosCallOuts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainboard/amd/persimmon/BiosCallOuts.c b/src/mainboard/amd/persimmon/BiosCallOuts.c
index bee2f9eb6b48..46a33087dc31 100644
--- a/src/mainboard/amd/persimmon/BiosCallOuts.c
+++ b/src/mainboard/amd/persimmon/BiosCallOuts.c
@@ -36,13 +36,11 @@ static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigP
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr)
{
AGESA_STATUS Status;
- UINTN FcnData;
PCIe_SLOT_RESET_INFO *ResetInfo;
UINT32 GpioMmioAddr;
UINT8 Data8;
- FcnData = Data;
ResetInfo = ConfigPtr;
Status = AGESA_UNSUPPORTED;
GpioMmioAddr = (uintptr_t)acpimmio_gpio_100;