aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Rottmann <JRottmann@LiPPERTembedded.de>2013-04-03 10:12:55 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-04-03 19:29:30 +0200
commit27a1be9169eb165d4f23ef19042f26db3769c24f (patch)
tree3d17c2bcc2cbc9efb3b11af479a52b9cc23cdb3c
parentc6f27226a84434182771dbbcd593d223072801f7 (diff)
Partially revert "AMD Inagua: broadcom.c: Add missing prototype for `broadcom_init()`"
Commit 5d741567 added a prototype to broadcom.c to fix a warning. This part is fine. It also changed mainboard.c to #include broadcom.c. But broadcom.c is already in Makefile.inc, now building will fail because the linker gets broadcom_init() twice. Undo the change to mainboard.c but keep the change to broadcom.c. Change-Id: Ieccc098f477ffacccf4174056998034a220a9744 Signed-off-by: Jens Rottmann <JRottmann@LiPPERTembedded.de> Reviewed-on: http://review.coreboot.org/3012 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com>
-rw-r--r--src/mainboard/amd/inagua/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/amd/inagua/mainboard.c b/src/mainboard/amd/inagua/mainboard.c
index 7e9f1d9b9e..dc230076ec 100644
--- a/src/mainboard/amd/inagua/mainboard.c
+++ b/src/mainboard/amd/inagua/mainboard.c
@@ -26,8 +26,8 @@
#include <device/pci_def.h>
#include <southbridge/amd/sb800/sb800.h>
#include "SBPLATFORM.h" /* Platfrom Specific Definitions */
-// #include "broadcom.c" /* broadcom_init() */
+void broadcom_init(void);
void set_pcie_reset(void);
void set_pcie_dereset(void);