From 0f1991949d9bd5cf6d4e1c490b7e9ba2d2d56d7f Mon Sep 17 00:00:00 2001 From: "Dr. David Alan Gilbert" Date: Mon, 7 Aug 2023 02:09:14 +0100 Subject: 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 Reviewed-by: Sam Ravnborg Acked-by: Randy Dunlap Signed-off-by: Andreas Larsson Link: https://lore.kernel.org/r/20230807010914.799713-1-linux@treblig.org --- arch/sparc/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/sparc/Kconfig') 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. -- cgit