Skip to content

Commit e9e3300

Browse files
arndbgregkh
authored andcommitted
vgacon: rework Kconfig dependencies
The list of dependencies here is phrased as an opt-out, but this is missing a lot of architectures that don't actually support VGA consoles, and some of the entries are stale: - powerpc used to support VGA consoles in the old arch/ppc codebase, but the merged arch/powerpc never did - arm lists footbridge, integrator and netwinder, but netwinder is actually part of footbridge, and integrator does not appear to have an actual VGA hardware, or list it in its ATAG or DT. - mips has a few platforms (malta, sibyte, and sni) that initialize screen_info, on everything else the console is selected but cannot actually work. - csky, hexgagon, loongarch, nios2, riscv and xtensa are not listed in the opt-out table and declare a screen_info to allow building vga_con, but this cannot work because the console is never selected. Replace this with an opt-in table that lists only the platforms that remain. This is effectively x86, plus a couple of historic workstation and server machines that reused parts of the x86 system architecture. Reviewed-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Reviewed-by: Khalid Aziz <[email protected]> Acked-by: Helge Deller <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2a1d728 commit e9e3300

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/video/console/Kconfig

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ menu "Console display driver support"
77

88
config VGA_CONSOLE
99
bool "VGA text console" if EXPERT || !X86
10-
depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !SUPERH && \
11-
(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
12-
!ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !S390 && !UML
10+
depends on ALPHA || IA64 || X86 || \
11+
(ARM && ARCH_FOOTBRIDGE) || \
12+
(MIPS && (MIPS_MALTA || SIBYTE_BCM112X || SIBYTE_SB1250 || SIBYTE_BCM1x80 || SNI_RM))
1313
select APERTURE_HELPERS if (DRM || FB || VFIO_PCI_CORE)
1414
default y
1515
help

0 commit comments

Comments
 (0)