summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ma785gm
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-03 06:12:03 +0300
committerPatrick Georgi <pgeorgi@google.com>2018-06-04 08:46:56 +0000
commit564c2191ab5d2c57ce7d3fda9a7596ef3e39b975 (patch)
treec21f844d42c7addb874ea83b060e45b785d5cdf5 /src/mainboard/gigabyte/ma785gm
parent1bad4ce421188748d1c3dd6bafe3863cbb21dd24 (diff)
downloadcoreboot-564c2191ab5d2c57ce7d3fda9a7596ef3e39b975.tar.xz
sb/amd/rs780: Fix invalid function declarations
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>
Diffstat (limited to 'src/mainboard/gigabyte/ma785gm')
-rw-r--r--src/mainboard/gigabyte/ma785gm/mainboard.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mainboard/gigabyte/ma785gm/mainboard.c b/src/mainboard/gigabyte/ma785gm/mainboard.c
index 37a3828f94..8fbc591c86 100644
--- a/src/mainboard/gigabyte/ma785gm/mainboard.c
+++ b/src/mainboard/gigabyte/ma785gm/mainboard.c
@@ -24,10 +24,7 @@
#include "southbridge/amd/sb700/smbus.h"
#include "southbridge/amd/rs780/rs780.h"
-void set_pcie_dereset(void);
-void set_pcie_reset(void);
-
-void set_pcie_dereset()
+void set_pcie_dereset(void)
{
u8 byte;
u16 word;
@@ -52,7 +49,7 @@ void set_pcie_dereset()
pci_write_config16(sm_dev, 0x7e, word);
}
-void set_pcie_reset()
+void set_pcie_reset(void)
{
u8 byte;
u16 word;