From 05b6b37a7c8703416d6ebfaaa860f3b2dad33fa0 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 27 May 2021 09:51:22 +0200 Subject: [PATCH] arch/x86/timestamp.inc: Remove unused file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a romcc compiled bootblock leftover. Change-Id: I8d4f8bcdac7e15d60540157e9d2ac98603320977 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/55007 Reviewed-by: Paul Menzel Reviewed-by: Kyösti Mälkki Tested-by: build bot (Jenkins) --- src/arch/x86/timestamp.inc | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/arch/x86/timestamp.inc diff --git a/src/arch/x86/timestamp.inc b/src/arch/x86/timestamp.inc deleted file mode 100644 index 032a011dbb..0000000000 --- a/src/arch/x86/timestamp.inc +++ /dev/null @@ -1,23 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -/* - * Store the initial timestamp for booting in mmx registers. This works - * because the bootblock isn't being compiled with MMX support so mm1 and - * mm2 will be preserved into romstage. - */ - .code32 - -.global stash_timestamp -stash_timestamp: - - /* Save the BIST value */ - movl %eax, %ebx - - finit - rdtsc - movd %ebx, %mm0 - movd %eax, %mm1 - movd %edx, %mm2 - - /* Restore the BIST value to %eax */ - movl %ebx, %eax