Skip to content

Commit

Permalink
sparc64: Faster early-boot framebuffer console.
Browse files Browse the repository at this point in the history
Borrow the powerpc bootx text console driver.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Nov 28, 2009
1 parent 55f532e commit c57ec52
Show file tree
Hide file tree
Showing 5 changed files with 692 additions and 1 deletion.
7 changes: 7 additions & 0 deletions arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions arch/sparc/include/asm/btext.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef _SPARC_BTEXT_H
#define _SPARC_BTEXT_H

extern int btext_find_display(void);

#endif /* _SPARC_BTEXT_H */
1 change: 1 addition & 0 deletions arch/sparc/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit c57ec52

Please sign in to comment.