Skip to content

Commit 84b76d0

Browse files
lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console
Allow FONT_SUN8x16 when EARLYFB is enabled for sparc64, even when FRAMEBUFFER_CONSOLE is not to avoid the following warning for this case WARNING: unmet direct dependencies detected for FONT_SUN8x16 Depends on [n]: FONT_SUPPORT [=y] && (FRAMEBUFFER_CONSOLE [=n] && (FONTS [=n] || SPARC [=y]) || BOOTX_TEXT) Selected by [y]: - EARLYFB [=y] && SPARC64 [=y] by allowing it in the same manner as is done for powerpc in commit 0ebc7fe ("powerpc: Use shared font data"). Signed-off-by: Andreas Larsson <[email protected]> Fixes: 0f19919 ("sparc: Use shared font data") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Cc: "Dr. David Alan Gilbert" <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: "David S. Miller" <[email protected]> Reviewed-by: Dr. David Alan Gilbert <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 024a5e6 commit 84b76d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/fonts/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ config FONT_10x18
9898

9999
config FONT_SUN8x16
100100
bool "Sparc console 8x16 font"
101-
depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || BOOTX_TEXT
101+
depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || \
102+
BOOTX_TEXT || EARLYFB
102103
help
103104
This is the high resolution console font for Sun machines. Say Y.
104105

0 commit comments

Comments
 (0)