summaryrefslogtreecommitdiff
path: root/src/mainboard/asus
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-12-07 19:16:07 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-12-07 19:16:07 +0000
commit4028ce7b768c9b33e4b0b1af20eede9968359071 (patch)
treef01d319ad08b5611b2bdf95c7f426d5f993635d3 /src/mainboard/asus
parent7f20d73eba22babbc5bf9efd8df8a3e9d3a117c7 (diff)
downloadcoreboot-4028ce7b768c9b33e4b0b1af20eede9968359071.tar.xz
Get rid of some unneeded function prototypes in romstage.c files.
Abuild-tested. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6147 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r--src/mainboard/asus/m4a78-em/romstage.c1
-rw-r--r--src/mainboard/asus/m4a785-m/romstage.c1
-rw-r--r--src/mainboard/asus/mew-am/romstage.c3
-rw-r--r--src/mainboard/asus/mew-vm/romstage.c3
-rw-r--r--src/mainboard/asus/p2b-d/romstage.c3
-rw-r--r--src/mainboard/asus/p2b-ds/romstage.c3
-rw-r--r--src/mainboard/asus/p2b-f/romstage.c3
-rw-r--r--src/mainboard/asus/p2b-ls/romstage.c3
-rw-r--r--src/mainboard/asus/p2b/romstage.c3
-rw-r--r--src/mainboard/asus/p3b-f/romstage.c4
10 files changed, 0 insertions, 27 deletions
diff --git a/src/mainboard/asus/m4a78-em/romstage.c b/src/mainboard/asus/m4a78-em/romstage.c
index 540ada6432..c18b58b87b 100644
--- a/src/mainboard/asus/m4a78-em/romstage.c
+++ b/src/mainboard/asus/m4a78-em/romstage.c
@@ -42,7 +42,6 @@
#include "northbridge/amd/amdfam10/reset_test.c"
#include <console/loglevel.h>
#include "cpu/x86/bist.h"
-static int smbus_read_byte(u32 device, u32 address);
#include "superio/ite/it8712f/it8712f_early_serial.c"
#include <usbdebug.h>
#include "cpu/x86/mtrr/earlymtrr.c"
diff --git a/src/mainboard/asus/m4a785-m/romstage.c b/src/mainboard/asus/m4a785-m/romstage.c
index 540ada6432..c18b58b87b 100644
--- a/src/mainboard/asus/m4a785-m/romstage.c
+++ b/src/mainboard/asus/m4a785-m/romstage.c
@@ -42,7 +42,6 @@
#include "northbridge/amd/amdfam10/reset_test.c"
#include <console/loglevel.h>
#include "cpu/x86/bist.h"
-static int smbus_read_byte(u32 device, u32 address);
#include "superio/ite/it8712f/it8712f_early_serial.c"
#include <usbdebug.h>
#include "cpu/x86/mtrr/earlymtrr.c"
diff --git a/src/mainboard/asus/mew-am/romstage.c b/src/mainboard/asus/mew-am/romstage.c
index aad5ed3852..ea28d56843 100644
--- a/src/mainboard/asus/mew-am/romstage.c
+++ b/src/mainboard/asus/mew-am/romstage.c
@@ -34,9 +34,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, SMSCSUPERIO_SP1)
-void enable_smbus(void);
-int smbus_read_byte(u8 device, u8 address);
-
void main(unsigned long bist)
{
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
diff --git a/src/mainboard/asus/mew-vm/romstage.c b/src/mainboard/asus/mew-vm/romstage.c
index 87aca12f5d..60ae774155 100644
--- a/src/mainboard/asus/mew-vm/romstage.c
+++ b/src/mainboard/asus/mew-vm/romstage.c
@@ -34,9 +34,6 @@
#define SERIAL_DEV PNP_DEV(0x2e, LPC47B272_SP1)
-void enable_smbus(void);
-int smbus_read_byte(u8 device, u8 address);
-
void main(unsigned long bist)
{
lpc47b272_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
diff --git a/src/mainboard/asus/p2b-d/romstage.c b/src/mainboard/asus/p2b-d/romstage.c
index a4abad4d09..ae09d8b8af 100644
--- a/src/mainboard/asus/p2b-d/romstage.c
+++ b/src/mainboard/asus/p2b-d/romstage.c
@@ -37,9 +37,6 @@
#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)
-void enable_smbus(void);
-int smbus_read_byte(u8 device, u8 address);
-
int spd_read_byte(unsigned int device, unsigned int address)
{
return smbus_read_byte(device, address);
diff --git a/src/mainboard/asus/p2b-ds/romstage.c b/src/mainboard/asus/p2b-ds/romstage.c
index 31f0971847..40038b57e8 100644
--- a/src/mainboard/asus/p2b-ds/romstage.c
+++ b/src/mainboard/asus/p2b-ds/romstage.c
@@ -36,9 +36,6 @@
#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)
-void enable_smbus(void);
-int smbus_read_byte(u8 device, u8 address);
-
int spd_read_byte(unsigned int device, unsigned int address)
{
return smbus_read_byte(device, address);
diff --git a/src/mainboard/asus/p2b-f/romstage.c b/src/mainboard/asus/p2b-f/romstage.c
index 41926d0bd3..658ac408ec 100644
--- a/src/mainboard/asus/p2b-f/romstage.c
+++ b/src/mainboard/asus/p2b-f/romstage.c
@@ -38,9 +38,6 @@
/* FIXME: The ASUS P2B-F has a Winbond W83977EF, actually. */
#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)
-void enable_smbus(void);
-int smbus_read_byte(u8 device, u8 address);
-
int spd_read_byte(unsigned int device, unsigned int address)
{
return smbus_read_byte(device, address);
diff --git a/src/mainboard/asus/p2b-ls/romstage.c b/src/mainboard/asus/p2b-ls/romstage.c
index b480aa55c2..0bf4172e5a 100644
--- a/src/mainboard/asus/p2b-ls/romstage.c
+++ b/src/mainboard/asus/p2b-ls/romstage.c
@@ -38,9 +38,6 @@
#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)
-void enable_smbus(void);
-int smbus_read_byte(u8 device, u8 address);
-
int spd_read_byte(unsigned int device, unsigned int address)
{
return smbus_read_byte(device, address);
diff --git a/src/mainboard/asus/p2b/romstage.c b/src/mainboard/asus/p2b/romstage.c
index cf44109e06..327a13ca52 100644
--- a/src/mainboard/asus/p2b/romstage.c
+++ b/src/mainboard/asus/p2b/romstage.c
@@ -36,9 +36,6 @@
#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)
-void enable_smbus(void);
-int smbus_read_byte(u8 device, u8 address);
-
int spd_read_byte(unsigned int device, unsigned int address)
{
return smbus_read_byte(device, address);
diff --git a/src/mainboard/asus/p3b-f/romstage.c b/src/mainboard/asus/p3b-f/romstage.c
index 04fa6a73c3..97600fae65 100644
--- a/src/mainboard/asus/p3b-f/romstage.c
+++ b/src/mainboard/asus/p3b-f/romstage.c
@@ -35,10 +35,6 @@
#include "superio/winbond/w83977tf/w83977tf_early_serial.c"
#include <lib.h>
-void enable_pm(void);
-void enable_smbus(void);
-int smbus_read_byte(u8 device, u8 address);
-
/* FIXME: The ASUS P3B-F has a Winbond W83977EF, actually. */
#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)