I honestly have no idea if the previous use of the vt8235's serial functions worked or not, but my board doesn't have COM1, and those function don't support using COM2, so I've changed auto.c to use the fintek f71805f functions, the fintek is the onboard super io. I also cleaned up a whitespace issue and unused variable.<br>
<br>Signed-off-by: Corey Osgood <<a href="mailto:corey.osgood@gmail.com">corey.osgood@gmail.com</a>><br><br>Index: src/mainboard/jetway/j7f24/auto.c<br>===================================================================<br>
--- src/mainboard/jetway/j7f24/auto.c    (revision 3820)<br>+++ src/mainboard/jetway/j7f24/auto.c    (working copy)<br>@@ -38,8 +38,10 @@<br> #include "lib/delay.c"<br> #include "cpu/x86/lapic/boot_cpu.c"<br>
 #include "southbridge/via/vt8237r/vt8237r_early_smbus.c"<br>-#include "southbridge/via/vt8235/vt8235_early_serial.c"<br>+#include "superio/fintek/f71805f/f71805f_early_serial.c"<br> <br>+#define SERIAL_DEV PNP_DEV(0x2e, F71805F_SP1)<br>
+<br> static void memreset_setup(void)<br> {<br> }<br>@@ -54,8 +56,7 @@<br> static void enable_mainboard_devices(void)<br> {<br>     device_t dev;<br>-    u8 reg;<br>- <br>+<br>     dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VT8237R_LPC), 0);<br>
     if (dev == PCI_DEV_INVALID)<br>         die("Southbridge not found!!!\n");<br>@@ -96,7 +97,7 @@<br>     /* Enable multifunction for northbridge. */<br>     pci_write_config8(ctrl.d0f0, 0x4f, 0x01);<br> <br>
-    enable_vt8235_serial();<br>+    f71805f_enable_serial(SERIAL_DEV, TTYS0_BASE);<br>     uart_init();<br>     console_init();<br><br>