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

Commit c57ec52f authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Faster early-boot framebuffer console.



Borrow the powerpc bootx text console driver.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 55f532ec
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -221,6 +221,13 @@ config SPARC64_SMP
	default y
	depends on SPARC64 && SMP

config EARLYFB
	bool "Support for early boot text console"
	default y
	depends on SPARC64
	help
	  Say Y here to enable a faster early framebuffer boot console.

choice
	prompt "Kernel page size" if SPARC64
	default SPARC64_PAGE_SIZE_8KB
+6 −0
Original line number Diff line number Diff line
#ifndef _SPARC_BTEXT_H
#define _SPARC_BTEXT_H

extern int btext_find_display(void);

#endif /* _SPARC_BTEXT_H */
+1 −0
Original line number Diff line number Diff line
@@ -87,6 +87,7 @@ obj-$(CONFIG_KGDB) += kgdb_$(BITS).o
obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
CFLAGS_REMOVE_ftrace.o := -pg

obj-$(CONFIG_EARLYFB) += btext.o
obj-$(CONFIG_STACKTRACE)     += stacktrace.o
# sparc64 PCI
obj-$(CONFIG_SPARC64_PCI)    += pci.o pci_common.o psycho_common.o
+673 −0

File added.

Preview size limit exceeded, changes collapsed.

+5 −1
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@
#include <asm/setup.h>
#include <asm/mmu.h>
#include <asm/ns87303.h>
#include <asm/btext.h>

#ifdef CONFIG_IP_PNP
#include <net/ipconfig.h>
@@ -286,6 +287,9 @@ void __init setup_arch(char **cmdline_p)
	parse_early_param();

	boot_flags_init(*cmdline_p);
#ifdef CONFIG_EARLYFB
	if (btext_find_display())
#endif
		register_console(&prom_early_console);

	if (tlb_type == hypervisor)