summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-01-04 08:10:39 -0700
committerTom Rini <[email protected]>2024-04-10 20:01:33 -0600
commit5716be53d3dd4f1a27ebcab9b36d32f96283b793 (patch)
tree90c4bf865427a6e12a298dc54f5c805565e508d1 /drivers
parenta469c8e854e2d75436a44e81364b46d74909265c (diff)
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 <[email protected]> Reviewed-by: Tom Rini <[email protected]> Suggested-by: Bin Meng <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 6f319ba0d54..39c82521be1 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.