soc/intel/quark: Drop BOOTBLOCK_SAVE_BIST_AND_TIMESTAMP

This was empty stub call doing nothing, to avoid targeting
non-existing MMX registers.

Change-Id: I78b83e6724159ea1eb0f8a0cf9d5b7ddfc9877b7
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30390
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Kyösti Mälkki
2018-12-23 07:22:44 +02:00
committed by Patrick Georgi
parent 3534c1e42d
commit 87efe24cce
3 changed files with 6 additions and 31 deletions

View File

@@ -99,28 +99,13 @@
.equ CFGNONSTICKY_W1_OFFSET, (0x52)
.equ FORCE_WARM_RESET, (0x00000001)
.global bootblock_save_bist_and_timestamp
bootblock_save_bist_and_timestamp:
/* eax: Low 32-bits of timestamp
* ebx: BIST result
* ebp: return address
* edx: High 32-bits of timestamp
*/
/* No values to save since Quark does not generate a BIST value
* and the timestamp is not saved since future expansion in
* bootblock_crt0.S could use ebp and edi. This code prevents
* the use of the MMx registers by the default implementation.
*/
jmp *%ebp
.global bootblock_pre_c_entry
bootblock_pre_c_entry:
/* Get the timestamp since value from bootblock_crt0.S was discarded */
/* Get the timestamp since code in bootblock_crt0.S requires
* MMX register support.
*/
rdtsc
movl %eax, %ebp
movl %edx, %edi