summaryrefslogtreecommitdiff
path: root/src/arch/x86/Kconfig
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-02-01 17:33:37 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-02-03 02:58:10 +0100
commit0cd9ff8987f9d4f303e01aefe9bfc812916fee04 (patch)
treedf98a7414d37ce131eace54497589465c59c9c4f /src/arch/x86/Kconfig
parenta9fa0c897c378b6c4f52d7bc71a3f672af7f2ee8 (diff)
downloadcoreboot-0cd9ff8987f9d4f303e01aefe9bfc812916fee04.tar.xz
xcompile: Add a way to specify -march=i586
Instead of instructing users to edit xcompile when they want to build a quark platform, give the build a way to set -march=586 so that the quark code will build correctly. The Quark processor does not support the instructions introduced with the Pentium 6 architecture. Change-Id: I0ed69aadc515f86f76800180e0e33bcd75feac5a Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/13552 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) Reviewed-by: Leroy P Leahy <leroy.p.leahy@intel.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: FEI WANG <wangfei.jimei@gmail.com>
Diffstat (limited to 'src/arch/x86/Kconfig')
-rw-r--r--src/arch/x86/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index 738e7d1c0a..49f940acd1 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -58,6 +58,12 @@ config ARCH_RAMSTAGE_X86_64
bool
default n
+config USE_MARCH_586
+ def_bool n
+ help
+ Allow a platform or processor to select to be compiled using
+ the '-march=i586' option instead of the typical '-march=i686'
+
# This is an SMP option. It relates to starting up APs.
# It is usually set in mainboard/*/Kconfig.
# TODO: Improve description.