summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/i82371eb/early_smbus.c6
-rw-r--r--src/southbridge/intel/i82371eb/i82371eb.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/southbridge/intel/i82371eb/early_smbus.c b/src/southbridge/intel/i82371eb/early_smbus.c
index 917a3b45f1..f69cb93a74 100644
--- a/src/southbridge/intel/i82371eb/early_smbus.c
+++ b/src/southbridge/intel/i82371eb/early_smbus.c
@@ -23,6 +23,12 @@
#include <device/smbus_host.h>
#include "i82371eb.h"
+void i82371eb_early_init(void)
+{
+ enable_smbus();
+ enable_pm();
+}
+
void enable_smbus(void)
{
pci_devfn_t dev;
diff --git a/src/southbridge/intel/i82371eb/i82371eb.h b/src/southbridge/intel/i82371eb/i82371eb.h
index 55242effca..b292beb173 100644
--- a/src/southbridge/intel/i82371eb/i82371eb.h
+++ b/src/southbridge/intel/i82371eb/i82371eb.h
@@ -21,6 +21,7 @@
void enable_smbus(void);
void enable_pm(void);
+void i82371eb_early_init(void);
#if ENV_ROMSTAGE
int smbus_read_byte(u8 device, u8 address);