summaryrefslogtreecommitdiff
path: root/src/mainboard/a-trend/atc-6240
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/a-trend/atc-6240')
-rw-r--r--src/mainboard/a-trend/atc-6240/romstage.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mainboard/a-trend/atc-6240/romstage.c b/src/mainboard/a-trend/atc-6240/romstage.c
index 4384c2387f..cddaffb41c 100644
--- a/src/mainboard/a-trend/atc-6240/romstage.c
+++ b/src/mainboard/a-trend/atc-6240/romstage.c
@@ -26,9 +26,8 @@
#include <arch/romcc_io.h>
#include <arch/hlt.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"
#include "lib/delay.c"
#include "cpu/x86/bist.h"
@@ -37,14 +36,14 @@
#define SERIAL_DEV PNP_DEV(0x3f0, W83627HF_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)
{
w83627hf_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);