Skip to content

Commit

Permalink
Kconfig: Remove HAS_IOMEM dependency for Graphics support
Browse files Browse the repository at this point in the history
The 'commit e25df12 ("[S390] Kconfig: menus with depends on HAS_IOMEM.")'
added the HAS_IOMEM dependecy for "Graphics support". This disabled the
"Graphics support" menu for S390. But if we enable VT layer for S390,
we would also need to enable the dummy console. So let's remove the
HAS_IOMEM dependency.

Move this dependency to sub menu items and console drivers that use
io memory.

Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <6e8ef238162df5be4462126be155975c722e9863.1519315352.git.alifm@linux.vnet.ibm.com>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
  • Loading branch information
Farhan Ali authored and Christian Borntraeger committed Mar 14, 2018
1 parent 4ed8773 commit 5c420fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#

menu "Graphics support"
depends on HAS_IOMEM

if HAS_IOMEM

config HAVE_FB_ATMEL
bool
Expand Down Expand Up @@ -36,6 +37,8 @@ config VIDEOMODE_HELPERS
config HDMI
bool

endif # HAS_IOMEM

if VT
source "drivers/video/console/Kconfig"
endif
Expand Down
6 changes: 3 additions & 3 deletions drivers/video/console/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ config VGA_CONSOLE
depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !FRV && \
!SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \
(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
!ARM64 && !ARC && !MICROBLAZE && !OPENRISC
!ARM64 && !ARC && !MICROBLAZE && !OPENRISC && HAS_IOMEM
default y
help
Saying Y here will allow you to use Linux in text mode through a
Expand Down Expand Up @@ -85,7 +85,7 @@ config MDA_CONSOLE

config SGI_NEWPORT_CONSOLE
tristate "SGI Newport Console support"
depends on SGI_IP22
depends on SGI_IP22 && HAS_IOMEM
select FONT_SUPPORT
help
Say Y here if you want the console on the Newport aka XL graphics
Expand Down Expand Up @@ -153,7 +153,7 @@ config FRAMEBUFFER_CONSOLE_ROTATION

config STI_CONSOLE
bool "STI text console"
depends on PARISC
depends on PARISC && HAS_IOMEM
select FONT_SUPPORT
default y
help
Expand Down

0 comments on commit 5c420fc

Please sign in to comment.