fix lots of warnings for cache as ram builds (trivial)
[coreboot.git] / src / arch / i386 / lib / console.c
index 071fb2848c9486a5a3d7fc502cfa5efe4bfcd72f..abeb2d90a1c320767ec1602efcd997b5d86f4252 100644 (file)
@@ -9,25 +9,30 @@ static void __console_tx_byte(unsigned char byte)
 #include "console_print.c"
 
 #else  
-/* CONFIG_USE_INIT == 1 */
+/* CONFIG_USE_PRINTK_IN_CAR == 1 */
 
 #include "console_printk.c"
 
-#endif /* CONFIG_USE_INIT */
-
-#ifndef LINUXBIOS_EXTRA_VERSION
-#define LINUXBIOS_EXTRA_VERSION ""
+#if CONFIG_USE_INIT == 0
+// do_printk
+#include "../../../console/vtxprintf.c"
+#include "printk_init.c"
 #endif
 
+#endif /* CONFIG_USE_PRINTK_IN_CAR */
+
+#ifndef COREBOOT_EXTRA_VERSION
+#define COREBOOT_EXTRA_VERSION ""
+#endif
 
 static void console_init(void)
 {
        static const char console_test[] = 
-               "\r\n\r\nLinuxBIOS-"
-               LINUXBIOS_VERSION
-               LINUXBIOS_EXTRA_VERSION
+               "\r\n\r\ncoreboot-"
+               COREBOOT_VERSION
+               COREBOOT_EXTRA_VERSION
                " "
-               LINUXBIOS_BUILD
+               COREBOOT_BUILD
                " starting...\r\n";
        print_info(console_test);
 }