Simplify a few code chunks, fix whitespace and indentation.
[coreboot.git] / src / mainboard / bcom / winnet100 / romstage.c
index 744623f84a41aea4c22d5ba6a102fe764a2e9588..8074c874e14f732ee55864469a001635cc0a34b6 100644 (file)
@@ -24,8 +24,7 @@
 #include <device/pnp_def.h>
 #include <arch/romcc_io.h>
 #include <arch/hlt.h>
-#include "pc80/serial.c"
-#include "console/console.c"
+#include <console/console.h>
 #include "lib/ramtest.c"
 #include "northbridge/amd/gx1/raminit.c"
 #include "superio/nsc/pc97317/pc97317_early_serial.c"
 
 static void main(unsigned long bist)
 {
-       /* Initialize the serial console. */
        pc97317_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
        uart_init();
        console_init();
-
-       /* Halt if there was a built in self test failure. */
        report_bist_failure(bist);
-
        cs5530_enable_rom();
-
-       /* Initialize RAM. */
        sdram_init();
-
-       /* Check whether RAM works. */
        /* ram_check(0, 640 * 1024); */
 }
-