summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-04-03 16:09:46 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-04-05 23:03:09 +0200
commitdeda99783312ee0567465e87d4974bc434b27dcc (patch)
tree2a3d16cda4fd1db67d83507834d71dbbb16f5d2f
parentc6b2166d89fcc3e4324a2888784b27109706b7e1 (diff)
downloadcoreboot-deda99783312ee0567465e87d4974bc434b27dcc.tar.xz
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)
-rw-r--r--src/cpu/x86/16bit/reset16.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/x86/16bit/reset16.inc b/src/cpu/x86/16bit/reset16.inc
index 1be0e3a94c..8dba3c836f 100644
--- a/src/cpu/x86/16bit/reset16.inc
+++ b/src/cpu/x86/16bit/reset16.inc
@@ -2,6 +2,7 @@
.code16
.globl reset_vector
reset_vector:
+ wbinvd
.byte 0xe9
.int _start - ( . + 2 )
/* Note: The above jump is hand coded to work around bugs in binutils.