summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ga-6bxe
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/gigabyte/ga-6bxe')
-rw-r--r--src/mainboard/gigabyte/ga-6bxe/romstage.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/gigabyte/ga-6bxe/romstage.c b/src/mainboard/gigabyte/ga-6bxe/romstage.c
index e60ca46fa8..b93b87f0e7 100644
--- a/src/mainboard/gigabyte/ga-6bxe/romstage.c
+++ b/src/mainboard/gigabyte/ga-6bxe/romstage.c
@@ -26,7 +26,7 @@
#include <arch/hlt.h>
#include <stdlib.h>
#include <console/console.h>
-#include "southbridge/intel/i82371eb/i82371eb_early_smbus.c"
+#include "southbridge/intel/i82371eb/i82371eb.h"
#include "northbridge/intel/i440bx/raminit.h"
#include "lib/debug.c"
#include "pc80/udelay_io.c"
@@ -38,14 +38,14 @@ static void it8671f_48mhz_clkin(void);
#define SERIAL_DEV PNP_DEV(0x3f0, IT8671F_SP1)
-static inline int spd_read_byte(unsigned int device, unsigned int address)
+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);
}
-#include "northbridge/intel/i440bx/raminit.c"
-#include "northbridge/intel/i440bx/debug.c"
-
void main(unsigned long bist)
{
it8671f_48mhz_clkin();