summaryrefslogtreecommitdiff
path: root/arch/i386/cpu/start.S
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:32 +1100
committerGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:32 +1100
commit0c24c9cc71cb3e0976a4806d57450e79b349fb40 (patch)
tree6a4cddc7fd1e317dab27889a22ad50f7013e7879 /arch/i386/cpu/start.S
parentc53fd2bb6dc63c10fd2817f3041de24fd277255b (diff)
downloadu-boot-imx-0c24c9cc71cb3e0976a4806d57450e79b349fb40.zip
u-boot-imx-0c24c9cc71cb3e0976a4806d57450e79b349fb40.tar.gz
u-boot-imx-0c24c9cc71cb3e0976a4806d57450e79b349fb40.tar.bz2
x86: Add processor flags header from linux
Diffstat (limited to 'arch/i386/cpu/start.S')
-rw-r--r--arch/i386/cpu/start.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S
index ab9338a..460c21b 100644
--- a/arch/i386/cpu/start.S
+++ b/arch/i386/cpu/start.S
@@ -26,6 +26,7 @@
#include <config.h>
#include <version.h>
#include <asm/global_data.h>
+#include <asm/processor-flags.h>
.section .text
@@ -46,7 +47,7 @@ _i386boot_start:
/* Turn of cache (this might require a 486-class CPU) */
movl %cr0, %eax
- orl $0x60000000, %eax
+ orl $(X86_CR0_NW | X86_CR0_CD), %eax
movl %eax, %cr0
wbinvd