From 564c2191ab5d2c57ce7d3fda9a7596ef3e39b975 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= <kyosti.malkki@gmail.com>
Date: Sun, 3 Jun 2018 06:12:03 +0300
Subject: sb/amd/rs780: Fix invalid function declarations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Provide empty stub implementations for set_pcie_reset() and
set_pcie_dereset(), many boards do not provide a proper one.

Change-Id: Ia6811442905ef1776fa5a8e3f5d4433e86e42f88
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/26776
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
---
 src/mainboard/advansus/a785e-i/mainboard.c | 11 -----------
 1 file changed, 11 deletions(-)

(limited to 'src/mainboard/advansus/a785e-i')

diff --git a/src/mainboard/advansus/a785e-i/mainboard.c b/src/mainboard/advansus/a785e-i/mainboard.c
index b5a2ea82db..1381dfa352 100644
--- a/src/mainboard/advansus/a785e-i/mainboard.c
+++ b/src/mainboard/advansus/a785e-i/mainboard.c
@@ -23,9 +23,6 @@
 #include <device/pci_def.h>
 #include "southbridge/amd/rs780/rs780.h"
 
-void set_pcie_dereset(void);
-void set_pcie_reset(void);
-
 /* GPIO6. */
 static void enable_int_gfx(void)
 {
@@ -45,14 +42,6 @@ static void enable_int_gfx(void)
 	*(gpio_reg + 170) = 0x0;
 }
 
-void set_pcie_dereset()
-{
-}
-
-void set_pcie_reset(void)
-{
-}
-
 int is_dev3_present(void)
 {
 	return 0;
-- 
cgit v1.2.3