diff options
-rw-r--r-- | drivers/video/Kconfig | 5 | ||||
-rw-r--r-- | drivers/video/console/Kconfig | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 3c20af999893..4f950c686055 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -3,7 +3,8 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | menu "Graphics support" | 5 | menu "Graphics support" |
6 | depends on HAS_IOMEM | 6 | |
7 | if HAS_IOMEM | ||
7 | 8 | ||
8 | config HAVE_FB_ATMEL | 9 | config HAVE_FB_ATMEL |
9 | bool | 10 | bool |
@@ -36,6 +37,8 @@ config VIDEOMODE_HELPERS | |||
36 | config HDMI | 37 | config HDMI |
37 | bool | 38 | bool |
38 | 39 | ||
40 | endif # HAS_IOMEM | ||
41 | |||
39 | if VT | 42 | if VT |
40 | source "drivers/video/console/Kconfig" | 43 | source "drivers/video/console/Kconfig" |
41 | endif | 44 | endif |
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig index 7f1f1fbcef9e..d039a05cc978 100644 --- a/drivers/video/console/Kconfig +++ b/drivers/video/console/Kconfig | |||
@@ -9,7 +9,7 @@ config VGA_CONSOLE | |||
9 | depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !FRV && \ | 9 | depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !FRV && \ |
10 | !SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \ | 10 | !SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \ |
11 | (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \ | 11 | (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \ |
12 | !ARM64 && !ARC && !MICROBLAZE && !OPENRISC | 12 | !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && HAS_IOMEM |
13 | default y | 13 | default y |
14 | help | 14 | help |
15 | Saying Y here will allow you to use Linux in text mode through a | 15 | Saying Y here will allow you to use Linux in text mode through a |
@@ -85,7 +85,7 @@ config MDA_CONSOLE | |||
85 | 85 | ||
86 | config SGI_NEWPORT_CONSOLE | 86 | config SGI_NEWPORT_CONSOLE |
87 | tristate "SGI Newport Console support" | 87 | tristate "SGI Newport Console support" |
88 | depends on SGI_IP22 | 88 | depends on SGI_IP22 && HAS_IOMEM |
89 | select FONT_SUPPORT | 89 | select FONT_SUPPORT |
90 | help | 90 | help |
91 | Say Y here if you want the console on the Newport aka XL graphics | 91 | Say Y here if you want the console on the Newport aka XL graphics |
@@ -153,7 +153,7 @@ config FRAMEBUFFER_CONSOLE_ROTATION | |||
153 | 153 | ||
154 | config STI_CONSOLE | 154 | config STI_CONSOLE |
155 | bool "STI text console" | 155 | bool "STI text console" |
156 | depends on PARISC | 156 | depends on PARISC && HAS_IOMEM |
157 | select FONT_SUPPORT | 157 | select FONT_SUPPORT |
158 | default y | 158 | default y |
159 | help | 159 | help |