Skip to content
Snippets Groups Projects
Commit fa97ca16 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Bin Meng
Browse files

Revert "x86: use invd instead of wbinvd in real mode start code"


This reverts commit 0d67fac2.

As real hardware testing (*) shows the above mentioned commit
breaks U-Boot on it. Revert for the upcoming release. We may get
more information in the future and optimize the code accordingly.

(*) on Intel Edison board.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarBin Meng <bmeng.cn@gmail.com>
[bmeng: fix a typo in the commit message]
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 38a2a48c
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ _x86boot_start:
movl %cr0, %eax
orl $(X86_CR0_NW | X86_CR0_CD), %eax
movl %eax, %cr0
invd
wbinvd
/*
* Zero the BIST (Built-In Self Test) value since we don't have it.
......
......@@ -28,7 +28,7 @@ start16:
movl %cr0, %eax
orl $(X86_CR0_NW | X86_CR0_CD), %eax
movl %eax, %cr0
invd
wbinvd
/* load the temporary Global Descriptor Table */
data32 cs lidt idt_ptr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment