summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-11-08 02:33:23 +0000
committerGraeme Russ <graeme.russ@gmail.com>2011-11-29 21:10:12 +1100
commit2f0e0cd246c2279883062fcfe90cd705f05bcb31 (patch)
treeee84bb090a34730344ea98fe4f64142fb42607f3 /arch/x86
parent1cfcf0370132315d6eee375afdf7207ff60a07e0 (diff)
downloadu-boot-imx-2f0e0cd246c2279883062fcfe90cd705f05bcb31.zip
u-boot-imx-2f0e0cd246c2279883062fcfe90cd705f05bcb31.tar.gz
u-boot-imx-2f0e0cd246c2279883062fcfe90cd705f05bcb31.tar.bz2
x86: Misc cleanups
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/cpu/start.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/cpu/start.S b/arch/x86/cpu/start.S
index d099fc9..f87633b 100644
--- a/arch/x86/cpu/start.S
+++ b/arch/x86/cpu/start.S
@@ -48,7 +48,7 @@ _x86boot_start:
cli
cld
- /* Turn of cache (this might require a 486-class CPU) */
+ /* Turn off cache (this might require a 486-class CPU) */
movl %cr0, %eax
orl $(X86_CR0_NW | X86_CR0_CD), %eax
movl %eax, %cr0
@@ -122,7 +122,8 @@ relocate_code:
/* Jump to in-RAM copy of board_init_r() */
call *%ebp
-die: hlt
+die:
+ hlt
jmp die
hlt