summaryrefslogtreecommitdiffstats
path: root/payloads/libpayload/Kconfig
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2017-07-23 16:05:47 +0300
committerMartin Roth <martinroth@google.com>2017-08-03 20:37:07 +0000
commitd85e485c5892f2d96e8c5d10828c13af154a5481 (patch)
tree38a90e1b5efaae53430068ba823ee95044262459 /payloads/libpayload/Kconfig
parent1c0b603673a3132a1554905dbcfe95c8fadb501e (diff)
downloadcoreboot-d85e485c5892f2d96e8c5d10828c13af154a5481.tar.gz
coreboot-d85e485c5892f2d96e8c5d10828c13af154a5481.tar.bz2
coreboot-d85e485c5892f2d96e8c5d10828c13af154a5481.zip
libpayload: video: Add support for font scaling with a factor
This introduces support for font scaling with a factor provided via Kconfig. In practice, the font itself is not scaled at any point in memory and only the logic to determine whether a pixel should be filled or not is changed. Thus, it should not significantly impact either the access time or memory use. Change-Id: Idff210617c9ec08c6034aef107cfdb34c7cdf029 Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-on: https://review.coreboot.org/20709 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads/libpayload/Kconfig')
-rw-r--r--payloads/libpayload/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig
index 63cc1527b68a..8fd6a9c763d8 100644
--- a/payloads/libpayload/Kconfig
+++ b/payloads/libpayload/Kconfig
@@ -321,6 +321,14 @@ config COREBOOT_VIDEO_CONSOLE
Say Y here if coreboot switched to a graphics mode and
your payload wants to use it.
+config FONT_SCALE_FACTOR
+ int "Scale factor for the included font"
+ depends on GEODELX_VIDEO_CONSOLE || COREBOOT_VIDEO_CONSOLE
+ default 0
+ help
+ By default (value of 0), the scale factor is automatically
+ calculated to ensure at least 130 columns (when possible).
+
config PC_KEYBOARD
bool "Allow input from a PC keyboard"
default y if ARCH_X86 # uses IO