Make libpayload parse the coreboot tables before setting up the consoles
[coreboot.git] / payloads / libpayload / arch / i386 / main.c
index 378c6f387f237241273a9162c810cfb75c86f827..36cfb69bff307f6838b382318fce37589199405d 100644 (file)
@@ -46,12 +46,12 @@ void start_main(void)
 {
        extern int main(int argc, char **argv);
 
-       /* Set up the consoles. */
-       console_init();
-
        /* Gather system information. */
        lib_get_sysinfo();
 
+       /* Set up the consoles. */
+       console_init();
+
        /*
         * Any other system init that has to happen before the
         * user gets control goes here.