]> Git Repo - linux.git/commitdiff
lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console
authorAndreas Larsson <[email protected]>
Thu, 7 Mar 2024 18:07:42 +0000 (19:07 +0100)
committerAndreas Larsson <[email protected]>
Fri, 8 Mar 2024 20:29:16 +0000 (21:29 +0100)
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
0ebc7feae79a ("powerpc: Use shared font data").

Signed-off-by: Andreas Larsson <[email protected]>
Fixes: 0f1991949d9b ("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]
lib/fonts/Kconfig

index 7ee468ef21ec612d8787755cfd8eeaac50b36ef5..7e945fdcbf11586e5dfa60b2f1a8580d8df60e15 100644 (file)
@@ -98,7 +98,8 @@ config FONT_10x18
 
 config FONT_SUN8x16
        bool "Sparc console 8x16 font"
-       depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || BOOTX_TEXT
+       depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || \
+                  BOOTX_TEXT || EARLYFB
        help
          This is the high resolution console font for Sun machines. Say Y.
 
This page took 0.05907 seconds and 4 git commands to generate.