summaryrefslogtreecommitdiff
path: root/arch/i386/cpu/start.S
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:28 +1100
committerGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:28 +1100
commit5f2679055d5f58db9548efe5545fac256d1c7d4d (patch)
tree13e09065ce1750ea593a5185c299ae9688b05b68 /arch/i386/cpu/start.S
parent88fa0a6eb906b532cd073b6e3d8f688c47404709 (diff)
downloadu-boot-imx-5f2679055d5f58db9548efe5545fac256d1c7d4d.zip
u-boot-imx-5f2679055d5f58db9548efe5545fac256d1c7d4d.tar.gz
u-boot-imx-5f2679055d5f58db9548efe5545fac256d1c7d4d.tar.bz2
x86: Don't clobber %ebx
%ebx will hold low-level boot flags and must be preserved
Diffstat (limited to 'arch/i386/cpu/start.S')
-rw-r--r--arch/i386/cpu/start.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S
index 551965f..63f7334 100644
--- a/arch/i386/cpu/start.S
+++ b/arch/i386/cpu/start.S
@@ -118,8 +118,8 @@ mem_ok:
cmpl $0, %eax
jne die
push $0x55aa55aa
- popl %ebx
- cmpl $0x55aa55aa, %ebx
+ popl %ecx
+ cmpl $0x55aa55aa, %ecx
jne die
wbinvd