diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-12-07 19:16:07 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-12-07 19:16:07 +0000 |
commit | 4028ce7b768c9b33e4b0b1af20eede9968359071 (patch) | |
tree | f01d319ad08b5611b2bdf95c7f426d5f993635d3 /src/mainboard | |
parent | 7f20d73eba22babbc5bf9efd8df8a3e9d3a117c7 (diff) |
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')
41 files changed, 0 insertions, 102 deletions
diff --git a/src/mainboard/a-trend/atc-6220/romstage.c b/src/mainboard/a-trend/atc-6220/romstage.c index cf44109e06..327a13ca52 100644 --- a/src/mainboard/a-trend/atc-6220/romstage.c +++ b/src/mainboard/a-trend/atc-6220/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/a-trend/atc-6240/romstage.c b/src/mainboard/a-trend/atc-6240/romstage.c index cddaffb41c..a15dc4be98 100644 --- a/src/mainboard/a-trend/atc-6240/romstage.c +++ b/src/mainboard/a-trend/atc-6240/romstage.c @@ -36,9 +36,6 @@ #define SERIAL_DEV PNP_DEV(0x3f0, W83627HF_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/abit/be6-ii_v2_0/romstage.c b/src/mainboard/abit/be6-ii_v2_0/romstage.c index 101b1f06fb..4b05e63cf0 100644 --- a/src/mainboard/abit/be6-ii_v2_0/romstage.c +++ b/src/mainboard/abit/be6-ii_v2_0/romstage.c @@ -38,9 +38,6 @@ /* FIXME: It's 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/amd/mahogany_fam10/romstage.c b/src/mainboard/amd/mahogany_fam10/romstage.c index 9079044919..1157b00832 100644 --- a/src/mainboard/amd/mahogany_fam10/romstage.c +++ b/src/mainboard/amd/mahogany_fam10/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/it8718f/it8718f_early_serial.c" #include <usbdebug.h> #include "cpu/x86/mtrr/earlymtrr.c" diff --git a/src/mainboard/amd/tilapia_fam10/romstage.c b/src/mainboard/amd/tilapia_fam10/romstage.c index 5c7858c19b..ddb5076c12 100644 --- a/src/mainboard/amd/tilapia_fam10/romstage.c +++ b/src/mainboard/amd/tilapia_fam10/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/it8718f/it8718f_early_serial.c" #include <usbdebug.h> #include "cpu/x86/mtrr/earlymtrr.c" 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) diff --git a/src/mainboard/azza/pt-6ibd/romstage.c b/src/mainboard/azza/pt-6ibd/romstage.c index 9d97c87dfc..957a5f7eb4 100644 --- a/src/mainboard/azza/pt-6ibd/romstage.c +++ b/src/mainboard/azza/pt-6ibd/romstage.c @@ -38,9 +38,6 @@ /* FIXME: It's 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/biostar/m6tba/romstage.c b/src/mainboard/biostar/m6tba/romstage.c index d341e4c8b5..697d554076 100644 --- a/src/mainboard/biostar/m6tba/romstage.c +++ b/src/mainboard/biostar/m6tba/romstage.c @@ -36,9 +36,6 @@ #define SERIAL_DEV PNP_DEV(0x3f0, SMSCSUPERIO_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/compaq/deskpro_en_sff_p600/romstage.c b/src/mainboard/compaq/deskpro_en_sff_p600/romstage.c index 0f317809b7..718c096976 100644 --- a/src/mainboard/compaq/deskpro_en_sff_p600/romstage.c +++ b/src/mainboard/compaq/deskpro_en_sff_p600/romstage.c @@ -38,9 +38,6 @@ /* FIXME: This should be PC97307 (but it's buggy at the moment)! */ #define SERIAL_DEV PNP_DEV(0x15c, PC97317_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/ecs/p6iwp-fe/romstage.c b/src/mainboard/ecs/p6iwp-fe/romstage.c index a3c1f20af0..4e12777e64 100644 --- a/src/mainboard/ecs/p6iwp-fe/romstage.c +++ b/src/mainboard/ecs/p6iwp-fe/romstage.c @@ -33,9 +33,6 @@ #include "superio/ite/it8712f/it8712f_early_serial.c" #include <lib.h> -void enable_smbus(void); -int smbus_read_byte(u8 device, u8 address); - void main(unsigned long bist) { it8712f_24mhz_clkin(); diff --git a/src/mainboard/getac/p470/romstage.c b/src/mainboard/getac/p470/romstage.c index c875330999..affc36a542 100644 --- a/src/mainboard/getac/p470/romstage.c +++ b/src/mainboard/getac/p470/romstage.c @@ -35,8 +35,6 @@ #include "northbridge/intel/i945/raminit.h" #include "southbridge/intel/i82801gx/i82801gx.h" -void enable_smbus(void); - void setup_ich7_gpios(void) { u32 gpios; diff --git a/src/mainboard/gigabyte/ga-6bxc/romstage.c b/src/mainboard/gigabyte/ga-6bxc/romstage.c index 17bf59d03a..f4ed6fa89d 100644 --- a/src/mainboard/gigabyte/ga-6bxc/romstage.c +++ b/src/mainboard/gigabyte/ga-6bxc/romstage.c @@ -37,9 +37,6 @@ void it8671f_48mhz_clkin(void); #define SERIAL_DEV PNP_DEV(0x3f0, IT8671F_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/gigabyte/ga-6bxe/romstage.c b/src/mainboard/gigabyte/ga-6bxe/romstage.c index b93b87f0e7..31af09e62c 100644 --- a/src/mainboard/gigabyte/ga-6bxe/romstage.c +++ b/src/mainboard/gigabyte/ga-6bxe/romstage.c @@ -38,9 +38,6 @@ static void it8671f_48mhz_clkin(void); #define SERIAL_DEV PNP_DEV(0x3f0, IT8671F_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/gigabyte/ma785gmt/romstage.c b/src/mainboard/gigabyte/ma785gmt/romstage.c index 1f6ebdd1aa..8daa2b1dcd 100644 --- a/src/mainboard/gigabyte/ma785gmt/romstage.c +++ b/src/mainboard/gigabyte/ma785gmt/romstage.c @@ -38,7 +38,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/it8718f/it8718f_early_serial.c" #include <usbdebug.h> #include "cpu/x86/mtrr/earlymtrr.c" diff --git a/src/mainboard/gigabyte/ma78gm/romstage.c b/src/mainboard/gigabyte/ma78gm/romstage.c index 21f80c2567..bbf1f58a70 100644 --- a/src/mainboard/gigabyte/ma78gm/romstage.c +++ b/src/mainboard/gigabyte/ma78gm/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/it8718f/it8718f_early_serial.c" #include <usbdebug.h> #include "cpu/x86/mtrr/earlymtrr.c" diff --git a/src/mainboard/hp/e_vectra_p2706t/romstage.c b/src/mainboard/hp/e_vectra_p2706t/romstage.c index 776b841b6b..1ecc686ddb 100644 --- a/src/mainboard/hp/e_vectra_p2706t/romstage.c +++ b/src/mainboard/hp/e_vectra_p2706t/romstage.c @@ -38,9 +38,6 @@ /* TODO: It's a PC87364 actually! */ #define SERIAL_DEV PNP_DEV(0x2e, PC87360_SP1) -void enable_smbus(void); -int smbus_read_byte(u8 device, u8 address); - void main(unsigned long bist) { /* TODO: It's a PC87364 actually! */ diff --git a/src/mainboard/ibase/mb899/romstage.c b/src/mainboard/ibase/mb899/romstage.c index 9902630122..f85fa16af5 100644 --- a/src/mainboard/ibase/mb899/romstage.c +++ b/src/mainboard/ibase/mb899/romstage.c @@ -40,8 +40,6 @@ #define SERIAL_DEV PNP_DEV(0x4e, W83627EHG_SP1) #define DUMMY_DEV PNP_DEV(0x4e, 0) -void enable_smbus(void); - void setup_ich7_gpios(void) { printk(BIOS_DEBUG, " GPIOS..."); diff --git a/src/mainboard/iei/kino-780am2-fam10/romstage.c b/src/mainboard/iei/kino-780am2-fam10/romstage.c index 8ef205aab7..86da8f6c87 100644 --- a/src/mainboard/iei/kino-780am2-fam10/romstage.c +++ b/src/mainboard/iei/kino-780am2-fam10/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/fintek/f71859/f71859_early_serial.c" #include <usbdebug.h> #include "cpu/x86/mtrr/earlymtrr.c" diff --git a/src/mainboard/intel/d810e2cb/romstage.c b/src/mainboard/intel/d810e2cb/romstage.c index fcdbb3156e..81e2d5d348 100644 --- a/src/mainboard/intel/d810e2cb/romstage.c +++ b/src/mainboard/intel/d810e2cb/romstage.c @@ -35,9 +35,6 @@ #define SERIAL_DEV PNP_DEV(0x4e, SMSCSUPERIO_SP1) -void enable_smbus(void); -int smbus_read_byte(u8 device, u8 address); - void main(unsigned long bist) { /* Set southbridge and Super I/O GPIOs. */ diff --git a/src/mainboard/intel/d945gclf/romstage.c b/src/mainboard/intel/d945gclf/romstage.c index 8b79f2dc57..8b02163ab8 100644 --- a/src/mainboard/intel/d945gclf/romstage.c +++ b/src/mainboard/intel/d945gclf/romstage.c @@ -39,8 +39,6 @@ #define SERIAL_DEV PNP_DEV(0x2e, W83627THG_SP1) -void enable_smbus(void); - void setup_ich7_gpios(void) { /* TODO: This is highly board specific and should be moved */ diff --git a/src/mainboard/jetway/pa78vm5/romstage.c b/src/mainboard/jetway/pa78vm5/romstage.c index a1688dfcb7..4711aecfdd 100644 --- a/src/mainboard/jetway/pa78vm5/romstage.c +++ b/src/mainboard/jetway/pa78vm5/romstage.c @@ -43,7 +43,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/fintek/f71863fg/f71863fg_early_serial.c" #include <usbdebug.h> #include "cpu/x86/mtrr/earlymtrr.c" diff --git a/src/mainboard/kontron/986lcd-m/romstage.c b/src/mainboard/kontron/986lcd-m/romstage.c index 59d54d260f..bd42f5f68e 100644 --- a/src/mainboard/kontron/986lcd-m/romstage.c +++ b/src/mainboard/kontron/986lcd-m/romstage.c @@ -34,7 +34,6 @@ #include <console/console.h> #include <cpu/x86/bist.h> #include "superio/winbond/w83627thg/w83627thg_early_serial.c" -void enable_smbus(void); #include "northbridge/intel/i945/i945.h" #include "northbridge/intel/i945/raminit.h" #include "southbridge/intel/i82801gx/i82801gx.h" diff --git a/src/mainboard/mitac/6513wu/romstage.c b/src/mainboard/mitac/6513wu/romstage.c index a46e5673f8..d0cdc178be 100644 --- a/src/mainboard/mitac/6513wu/romstage.c +++ b/src/mainboard/mitac/6513wu/romstage.c @@ -35,9 +35,6 @@ #define SERIAL_DEV PNP_DEV(0x4e, 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/msi/ms6119/romstage.c b/src/mainboard/msi/ms6119/romstage.c index 23b727733e..950c838ebc 100644 --- a/src/mainboard/msi/ms6119/romstage.c +++ b/src/mainboard/msi/ms6119/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/msi/ms6147/romstage.c b/src/mainboard/msi/ms6147/romstage.c index 2740abb7a8..b3b40b21f1 100644 --- a/src/mainboard/msi/ms6147/romstage.c +++ b/src/mainboard/msi/ms6147/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/msi/ms6156/romstage.c b/src/mainboard/msi/ms6156/romstage.c index 630f313b1b..04b25208b2 100644 --- a/src/mainboard/msi/ms6156/romstage.c +++ b/src/mainboard/msi/ms6156/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/msi/ms6178/romstage.c b/src/mainboard/msi/ms6178/romstage.c index 19d4c81488..dd3a5226a8 100644 --- a/src/mainboard/msi/ms6178/romstage.c +++ b/src/mainboard/msi/ms6178/romstage.c @@ -35,9 +35,6 @@ #define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1) #define DUMMY_DEV PNP_DEV(0x2e, 0) -void enable_smbus(void); -int smbus_read_byte(u8 device, u8 address); - void main(unsigned long bist) { w83627hf_set_clksel_48(DUMMY_DEV); diff --git a/src/mainboard/nec/powermate2000/romstage.c b/src/mainboard/nec/powermate2000/romstage.c index 0444b08d5c..95fa3b20ec 100644 --- a/src/mainboard/nec/powermate2000/romstage.c +++ b/src/mainboard/nec/powermate2000/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/nokia/ip530/romstage.c b/src/mainboard/nokia/ip530/romstage.c index fdffbf9d06..b3f29de016 100644 --- a/src/mainboard/nokia/ip530/romstage.c +++ b/src/mainboard/nokia/ip530/romstage.c @@ -36,9 +36,6 @@ #define SERIAL_DEV PNP_DEV(0x3f0, SMSCSUPERIO_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/roda/rk886ex/romstage.c b/src/mainboard/roda/rk886ex/romstage.c index 109d2e8102..85d163baf8 100644 --- a/src/mainboard/roda/rk886ex/romstage.c +++ b/src/mainboard/roda/rk886ex/romstage.c @@ -37,8 +37,6 @@ #include "northbridge/intel/i945/raminit.h" #include "southbridge/intel/i82801gx/i82801gx.h" -void enable_smbus(void); - void setup_ich7_gpios(void) { printk(BIOS_DEBUG, " GPIOS..."); diff --git a/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c b/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c index 99eb7b6b71..de87edb451 100644 --- a/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c +++ b/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c @@ -37,9 +37,6 @@ void it8671f_48mhz_clkin(void); #define SERIAL_DEV PNP_DEV(0x370, IT8671F_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/tyan/s1846/romstage.c b/src/mainboard/tyan/s1846/romstage.c index 8cb436be0f..fb48f0702e 100644 --- a/src/mainboard/tyan/s1846/romstage.c +++ b/src/mainboard/tyan/s1846/romstage.c @@ -36,9 +36,6 @@ #define SERIAL_DEV PNP_DEV(0x2e, PC87309_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); |