linux/lib/fonts
Dr. David Alan Gilbert 0ebc7feae7 powerpc: Use shared font data
PowerPC 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 bcfbeecea1 ("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 the PMF source code analyser, which
noticed that sparc does the same thing with the same data, and they
also share a bunch of functions to manipulate the data.  I've previously
posted a near identical patch for sparc.

Tested very lightly with a boot without FS in qemu.

Signed-off-by: "Dr. David Alan Gilbert" <linux@treblig.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230825142754.1487900-1-linux@treblig.org
2023-10-01 23:09:02 +11:00
..
font_6x8.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_6x10.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_6x11.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_7x14.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_8x8.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_8x16.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_10x18.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_acorn_8x8.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_mini_4x6.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_pearl_8x8.c lib: fix spelling mistakes 2021-07-08 11:48:20 -07:00
font_sun8x16.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_sun12x22.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_ter16x32.c Fonts: font_ter16x32: Update font with new upstream Terminus release 2021-01-07 21:06:25 +01:00
fonts.c lib/fonts: fix undefined behavior in bit shift for get_default_font 2022-11-18 13:55:09 -08:00
Kconfig powerpc: Use shared font data 2023-10-01 23:09:02 +11:00
Makefile lib/fonts: add font 6x8 for OLED display 2020-09-08 13:33:21 +02:00