summaryrefslogtreecommitdiff
path: root/src/mainboard/via/epia-cn
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/via/epia-cn')
-rw-r--r--src/mainboard/via/epia-cn/romstage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/via/epia-cn/romstage.c b/src/mainboard/via/epia-cn/romstage.c
index 5293aa6387..27c1a46c6c 100644
--- a/src/mainboard/via/epia-cn/romstage.c
+++ b/src/mainboard/via/epia-cn/romstage.c
@@ -26,7 +26,7 @@
#include <cpu/x86/bist.h>
#include <cpu/amd/car.h>
#include <delay.h>
-#include "southbridge/via/vt8237r/early_smbus.c"
+#include <southbridge/via/vt8237r/vt8237r.h>
#include "southbridge/via/vt8237r/early_serial.c"
#include <spd.h>
@@ -80,7 +80,7 @@ void main(unsigned long bist)
enable_vt8237r_serial();
console_init();
enable_smbus();
- smbus_fixup(&ctrl);
+ smbus_fixup(ctrl.channel0, ARRAY_SIZE(ctrl.channel0));
report_bist_failure(bist);
enable_mainboard_devices();
ddr_ram_setup(&ctrl);