aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-01-04 08:10:39 -0700
committerTom Rini <trini@konsulko.com>2024-04-10 20:01:33 -0600
commit5716be53d3dd4f1a27ebcab9b36d32f96283b793 (patch)
tree90c4bf865427a6e12a298dc54f5c805565e508d1 /drivers/video
parenta469c8e854e2d75436a44e81364b46d74909265c (diff)
downloadu-boot-5716be53d3dd4f1a27ebcab9b36d32f96283b793.zip
u-boot-5716be53d3dd4f1a27ebcab9b36d32f96283b793.tar.gz
u-boot-5716be53d3dd4f1a27ebcab9b36d32f96283b793.tar.bz2
x86: Enable SSE in 64-bit mode
This is needed to support Truetype fonts. In any case, the compiler expects SSE to be available in 64-bit mode. Provide an option to enable SSE so that hardware floating-point arithmetic works. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Suggested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 6f319ba..39c8252 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -180,6 +180,7 @@ config CONSOLE_ROTATION
config CONSOLE_TRUETYPE
bool "Support a console that uses TrueType fonts"
+ select X86_HARDFP if X86
help
TrueTrype fonts can provide outline-drawing capability rather than
needing to provide a bitmap for each font and size that is needed.