Invalidate cache before first jump
Some CPUs (Sandybridge) seem to require this, and it does not hurt on other CPUs. Change-Id: I4fdb281b2b684ab5fea999aae28ca08dce24da4d Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/869 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
c6b2166d89
commit
deda997833
|
@ -2,6 +2,7 @@
|
||||||
.code16
|
.code16
|
||||||
.globl reset_vector
|
.globl reset_vector
|
||||||
reset_vector:
|
reset_vector:
|
||||||
|
wbinvd
|
||||||
.byte 0xe9
|
.byte 0xe9
|
||||||
.int _start - ( . + 2 )
|
.int _start - ( . + 2 )
|
||||||
/* Note: The above jump is hand coded to work around bugs in binutils.
|
/* Note: The above jump is hand coded to work around bugs in binutils.
|
||||||
|
|
Loading…
Reference in New Issue