aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82371eb/i82371eb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/i82371eb/i82371eb.h')
-rw-r--r--src/southbridge/intel/i82371eb/i82371eb.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/southbridge/intel/i82371eb/i82371eb.h b/src/southbridge/intel/i82371eb/i82371eb.h
index 5e0ff3f418..77931cb20c 100644
--- a/src/southbridge/intel/i82371eb/i82371eb.h
+++ b/src/southbridge/intel/i82371eb/i82371eb.h
@@ -17,18 +17,22 @@
#ifndef SOUTHBRIDGE_INTEL_I82371EB_I82371EB_H
#define SOUTHBRIDGE_INTEL_I82371EB_I82371EB_H
-#if !defined(__ASSEMBLER__) && !defined(__ACPI__)
-#if !defined(__PRE_RAM__)
-#include <device/device.h>
-#include "chip.h"
+#if !defined(__ACPI__)
+#ifndef __ROMCC__
+#include <device/device.h>
void i82371eb_enable(struct device *dev);
+#endif
+
void i82371eb_hard_reset(void);
-#else
+
void enable_smbus(void);
-int smbus_read_byte(u8 device, u8 address);
void enable_pm(void);
+
+#if ENV_ROMSTAGE
+int smbus_read_byte(u8 device, u8 address);
#endif
+
#endif
/* If 'cond' is true this macro sets the bit(s) specified by 'bits' in the