summaryrefslogtreecommitdiffstats
path: root/drivers/video/console/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-01-12 21:17:02 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-01-13 14:54:48 +0200
commit8f5b1e6511b83ab5483dc5f8b60e2438e9c6dfbe (patch)
treeb3a7c0f89e8a1998b3611db2417590a7fc9052c0 /drivers/video/console/Kconfig
parent0fc50517cf2f9f580d7b54cb72dbc1e760aa8113 (diff)
downloadlinux-8f5b1e6511b83ab5483dc5f8b60e2438e9c6dfbe.tar.gz
linux-8f5b1e6511b83ab5483dc5f8b60e2438e9c6dfbe.tar.bz2
linux-8f5b1e6511b83ab5483dc5f8b60e2438e9c6dfbe.zip
console/dummy: Move screen size selection from CPP to Kconfig
PA-RISC already handled the dummy console screen size selection in Kconfig, so generalize this to other platforms. ARM keeps on using screen_info, which is filled in by platform-specific code, or from ATAGS. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/console/Kconfig')
-rw-r--r--drivers/video/console/Kconfig16
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
index fe1cd0148e13..ba97efc3bf70 100644
--- a/drivers/video/console/Kconfig
+++ b/drivers/video/console/Kconfig
@@ -77,18 +77,22 @@ config DUMMY_CONSOLE
config DUMMY_CONSOLE_COLUMNS
int "Initial number of console screen columns"
- depends on PARISC && DUMMY_CONSOLE
- default "160"
+ depends on DUMMY_CONSOLE && !ARM
+ default 160 if PARISC
+ default 80
help
- The default value is 160, which should fit a 1280x1024 monitor.
+ On PA-RISC, the default value is 160, which should fit a 1280x1024
+ monitor.
Select 80 if you use a 640x480 resolution by default.
config DUMMY_CONSOLE_ROWS
int "Initial number of console screen rows"
- depends on PARISC && DUMMY_CONSOLE
- default "64"
+ depends on DUMMY_CONSOLE && !ARM
+ default 64 if PARISC
+ default 25
help
- The default value is 64, which should fit a 1280x1024 monitor.
+ On PA-RISC, the default value is 64, which should fit a 1280x1024
+ monitor.
Select 25 if you use a 640x480 resolution by default.
config FRAMEBUFFER_CONSOLE