diff options
-rw-r--r-- | payloads/libpayload/Kconfig | 8 | ||||
-rw-r--r-- | src/arch/x86/Kconfig | 6 | ||||
-rw-r--r-- | src/cpu/x86/entry32.S | 2 | ||||
-rwxr-xr-x | util/xcompile/xcompile | 6 |
4 files changed, 1 insertions, 21 deletions
diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig index fcef18a7f0..128c7daf0b 100644 --- a/payloads/libpayload/Kconfig +++ b/payloads/libpayload/Kconfig @@ -167,14 +167,6 @@ config BASE_ADDRESS endmenu -config USE_MARCH_586 - bool "Use march=586 qualifier to build" - default n - depends on ARCH_X86 - help - Allow a platform or processor to select to be compiled using - the '-march=i586' option instead of the typical '-march=i686' - menu "Standard Libraries" config LIBC diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index 8d2295b7ad..b3cf96bb7a 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -92,12 +92,6 @@ config ARCH_X86_64_PGTBL_LOC The position where to place pagetables. Needs to be known at compile time. Must not overlap other files in CBFS. -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. diff --git a/src/cpu/x86/entry32.S b/src/cpu/x86/entry32.S index 215d60182a..4c8ded0bc7 100644 --- a/src/cpu/x86/entry32.S +++ b/src/cpu/x86/entry32.S @@ -54,7 +54,6 @@ debug_spinloop: jz debug_spinloop #endif -#if !CONFIG(USE_MARCH_586) /* MMX registers required here */ /* BIST result in eax */ @@ -66,7 +65,6 @@ __timestamp: rdtsc movd %eax, %mm1 movd %edx, %mm2 -#endif #if CONFIG(SSE) enable_sse: diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 7fba665121..a3f9be73f8 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -286,11 +286,7 @@ fi if [ "${TARCH}" = "x86_32" ]; then cat <<EOF -ifneq (\$(CONFIG_USE_MARCH_586)\$(CONFIG_LP_USE_MARCH_586),) - CFLAGS_${TARCH} += -march=i586 -else - CFLAGS_${TARCH} += -march=i686 -endif +CFLAGS_${TARCH} += -march=i686 EOF fi |