From 87efe24cce93bdd0076455263c1602e011892475 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sun, 23 Dec 2018 07:22:44 +0200 Subject: soc/intel/quark: Drop BOOTBLOCK_SAVE_BIST_AND_TIMESTAMP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was empty stub call doing nothing, to avoid targeting non-existing MMX registers. Change-Id: I78b83e6724159ea1eb0f8a0cf9d5b7ddfc9877b7 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/30390 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/arch/x86/bootblock_crt0.S | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/arch') diff --git a/src/arch/x86/bootblock_crt0.S b/src/arch/x86/bootblock_crt0.S index 1b160f483b..4eb36b2ce1 100644 --- a/src/arch/x86/bootblock_crt0.S +++ b/src/arch/x86/bootblock_crt0.S @@ -44,23 +44,14 @@ debug_spinloop: bootblock_protected_mode_entry: +#if !IS_ENABLED(CONFIG_USE_MARCH_586) + /* MMX registers required here */ + /* BIST result in eax */ movl %eax, %ebx /* Get an early timestamp */ rdtsc - -#if IS_ENABLED(CONFIG_BOOTBLOCK_SAVE_BIST_AND_TIMESTAMP) - lea 1f, %ebp - - /* eax: Low 32-bits of timestamp - * ebx: BIST result - * ebp: return address - * edx: High 32-bits of timestamp - */ - jmp bootblock_save_bist_and_timestamp -1: -#else movd %ebx, %mm0 movd %eax, %mm1 movd %edx, %mm2 -- cgit v1.2.3