Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 471e7a44 authored by Peter Chubb's avatar Peter Chubb Committed by Tony Luck
Browse files

[IA64] Enable early console for Ski simulator



When using Ski to debug early startup, it's a bit of a pain not to
have printk.

This patch enables the simulated console very early.
It may be worth conditionalising on the command line... but this is
enough for now.

Signed-off-by: default avatarPeter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent b09e789c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -389,6 +389,13 @@ early_console_setup (char *cmdline)
	if (!efi_setup_pcdp_console(cmdline))
		earlycons++;
#endif
#ifdef CONFIG_HP_SIMSERIAL_CONSOLE
	{
		extern struct console hpsim_cons;
		register_console(&hpsim_cons);
		earlycons++;
	}
#endif

	return (earlycons) ? 0 : -1;
}