summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:24 +1100
committerGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:24 +1100
commit6ae032a86aa21def97aada054bd24589fdb8e947 (patch)
treed6fdc11a831203f5b9c0154a5cd9464a88a87027 /arch
parent7228efa3cb6e05b9a120f26456fd3ffed9afe2ba (diff)
downloadu-boot-imx-6ae032a86aa21def97aada054bd24589fdb8e947.zip
u-boot-imx-6ae032a86aa21def97aada054bd24589fdb8e947.tar.gz
u-boot-imx-6ae032a86aa21def97aada054bd24589fdb8e947.tar.bz2
x86: Remove progress indication in low-level init
Progress indication is not relocation friendly so remove it in preperation for full relocatability support
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/cpu/start.S44
1 files changed, 2 insertions, 42 deletions
diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S
index 90dfd5d..cb47ce7 100644
--- a/arch/i386/cpu/start.S
+++ b/arch/i386/cpu/start.S
@@ -83,13 +83,6 @@ _start:
jmp early_board_init
early_board_init_ret:
- /* The __port80 entry-point should be usabe by now */
- /* so we try to indicate progress */
- movw $0x01, %ax
- movl $.progress0, %ebp
- jmp show_boot_progress_asm
-.progress0:
-
/* size memory */
mov $mem_init_ret, %ebp
jmp mem_init
@@ -103,24 +96,11 @@ get_mem_size_ret:
/* Check we have enough memory for stack */
movl $CONFIG_SYS_STACK_SIZE, %ecx
cmpl %ecx, %eax
- jae mem_ok
-
- /* indicate (lack of) progress */
- movw $0x81, %ax
- movl $.progress0a, %ebp
- jmp show_boot_progress_asm
-.progress0a:
- jmp die
+ jb die
mem_ok:
/* Set stack pointer to upper memory limit*/
movl %eax, %esp
- /* indicate progress */
- movw $0x02, %ax
- movl $.progress1, %ebp
- jmp show_boot_progress_asm
-.progress1:
-
/* Test the stack */
pushl $0
popl %eax
@@ -129,23 +109,7 @@ mem_ok:
push $0x55aa55aa
popl %ebx
cmpl $0x55aa55aa, %ebx
- je stack_ok
-
-no_stack:
- /* indicate (lack of) progress */
- movw $0x82, %ax
- movl $.progress1a, %ebp
- jmp show_boot_progress_asm
-.progress1a:
- jmp die
-
-
-stack_ok:
- /* indicate progress */
- movw $0x03, %ax
- movl $.progress2, %ebp
- jmp show_boot_progress_asm
-.progress2:
+ jne die
wbinvd
@@ -157,10 +121,6 @@ stack_ok:
/* indicate (lack of) progress */
movw $0x85, %ax
- movl $.progress4a, %ebp
- jmp show_boot_progress_asm
-.progress4a:
-
die: hlt
jmp die
hlt