summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801gx/i82801gx.h
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/southbridge/intel/i82801gx/i82801gx.h
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/southbridge/intel/i82801gx/i82801gx.h')
-rw-r--r--src/southbridge/intel/i82801gx/i82801gx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/southbridge/intel/i82801gx/i82801gx.h b/src/southbridge/intel/i82801gx/i82801gx.h
index f6a54e94d5..37bcf572b9 100644
--- a/src/southbridge/intel/i82801gx/i82801gx.h
+++ b/src/southbridge/intel/i82801gx/i82801gx.h
@@ -46,6 +46,11 @@ extern void i82801gx_enable(device_t dev);
void i82801gx_enable_usbdebug(unsigned int port);
#endif
+#if defined(__PRE_RAM__) && !defined(__ROMCC__) && !defined(ASSEMBLY)
+void enable_smbus(void);
+int smbus_read_byte(unsigned device, unsigned address);
+#endif
+
#define MAINBOARD_POWER_OFF 0
#define MAINBOARD_POWER_ON 1
#define MAINBOARD_POWER_KEEP 2