mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 12:13:00 -04:00
x86: Misc cleanups
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
This commit is contained in:
parent
1cfcf03701
commit
2f0e0cd246
@ -48,7 +48,7 @@ _x86boot_start:
|
|||||||
cli
|
cli
|
||||||
cld
|
cld
|
||||||
|
|
||||||
/* Turn of cache (this might require a 486-class CPU) */
|
/* Turn off cache (this might require a 486-class CPU) */
|
||||||
movl %cr0, %eax
|
movl %cr0, %eax
|
||||||
orl $(X86_CR0_NW | X86_CR0_CD), %eax
|
orl $(X86_CR0_NW | X86_CR0_CD), %eax
|
||||||
movl %eax, %cr0
|
movl %eax, %cr0
|
||||||
@ -122,7 +122,8 @@ relocate_code:
|
|||||||
/* Jump to in-RAM copy of board_init_r() */
|
/* Jump to in-RAM copy of board_init_r() */
|
||||||
call *%ebp
|
call *%ebp
|
||||||
|
|
||||||
die: hlt
|
die:
|
||||||
|
hlt
|
||||||
jmp die
|
jmp die
|
||||||
hlt
|
hlt
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user