aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/Kconfig
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 /arch/x86/Kconfig
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 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 99e59d9..6b532d7 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -723,6 +723,14 @@ config ROM_TABLE_SIZE
hex
default 0x10000
+config X86_HARDFP
+ bool "Support hardware floating point"
+ help
+ U-Boot generally does not make use of floating point. Where this is
+ needed, it can be enabled using this option. This adjusts the
+ start-up code for 64-bit mode and changes the compiler options for
+ 64-bit to enable SSE.
+
config HAVE_ITSS
bool "Enable ITSS"
help