summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801ax/i82801ax.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/i82801ax/i82801ax.h
parent7f20d73eba22babbc5bf9efd8df8a3e9d3a117c7 (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/southbridge/intel/i82801ax/i82801ax.h')
-rw-r--r--src/southbridge/intel/i82801ax/i82801ax.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801ax/i82801ax.h b/src/southbridge/intel/i82801ax/i82801ax.h
index 585de6e3c4..bd192e019e 100644
--- a/src/southbridge/intel/i82801ax/i82801ax.h
+++ b/src/southbridge/intel/i82801ax/i82801ax.h
@@ -23,7 +23,12 @@
#if !defined(__PRE_RAM__)
#include "chip.h"
-extern void i82801ax_enable(device_t dev);
+void i82801ax_enable(device_t dev);
+#endif
+
+#if defined(__PRE_RAM__) && !defined(__ROMCC__)
+void enable_smbus(void);
+int smbus_read_byte(u8 device, u8 address);
#endif
#define SMBUS_IO_BASE 0x0f00