summaryrefslogtreecommitdiff
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2023-08-07 02:09:14 +0100
committerAndreas Larsson <andreas@gaisler.com>2024-02-16 16:49:58 +0100
commit0f1991949d9bd5cf6d4e1c490b7e9ba2d2d56d7f (patch)
tree6abbb823a053125e42520fd989167425ebf0487d /arch/sparc/Kconfig
parent0955723ef93583be768c5ddc22aff11d6c3cc260 (diff)
sparc: Use shared font data
sparc has a 'btext' font used for the console which is almost identical to the shared font_sun8x16, so use it rather than duplicating the data. They were actually identical until about a decade ago when commit bcfbeecea11c ("drivers: console: font_: Change a glyph from "broken bar" to "vertical line"") which changed the | in the shared font to be a solid bar rather than a broken bar. That's the only difference. This was originally spotted by PMD which noticed that PPC does the same thing with the same data, and they also share a bunch of functions to manipulate the data. Tested very lightly with a boot without FS in qemu. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andreas Larsson <andreas@gaisler.com> Link: https://lore.kernel.org/r/20230807010914.799713-1-linux@treblig.org
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r--arch/sparc/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index c54ee10b8e2d..b087d4fe00af 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -215,6 +215,8 @@ config EARLYFB
bool "Support for early boot text console"
default y
depends on SPARC64
+ select FONT_SUN8x16
+ select FONT_SUPPORT
help
Say Y here to enable a faster early framebuffer boot console.