amdfam10: Fix mismatch of function declarations

Callsite declared returning int, which makes more sense
than u8 the motherboard side code defined the functions
with.

Change-Id: I8ee83aa2833408ad163c9011a076e08578f3ca6f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/26774
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Kyösti Mälkki
2018-06-02 14:52:25 +03:00
committed by Patrick Georgi
parent 975da840d0
commit 2d7825b0fc
16 changed files with 26 additions and 33 deletions

View File

@@ -22,10 +22,10 @@
#include <device/pci_def.h>
#include "southbridge/amd/sb700/sb700.h"
#include "southbridge/amd/sb700/smbus.h"
#include "southbridge/amd/rs780/rs780.h"
void set_pcie_dereset(void);
void set_pcie_reset(void);
u8 is_dev3_present(void);
/* TODO - Need to find GPIO for PCIE slot.
* Kino uses GPIO ? as PCIe slot reset, GPIO? as GFX slot reset. We need to
* pull it up before training the slot.
@@ -40,7 +40,7 @@ void set_pcie_reset()
/* PCIE slot not yet supported.*/
}
u8 is_dev3_present(void)
int is_dev3_present(void)
{
return 0;
}