Skip to content

Commit 0f19919

Browse files
Dr. David Alan Gilbertandreas-gaisler
authored andcommitted
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 bcfbeec ("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 <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Andreas Larsson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 0955723 commit 0f19919

File tree

2 files changed

+11
-356
lines changed

2 files changed

+11
-356
lines changed

arch/sparc/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ config EARLYFB
215215
bool "Support for early boot text console"
216216
default y
217217
depends on SPARC64
218+
select FONT_SUN8x16
219+
select FONT_SUPPORT
218220
help
219221
Say Y here to enable a faster early framebuffer boot console.
220222

0 commit comments

Comments
 (0)