diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2010-10-07 20:03:23 +1100 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2010-10-07 20:03:23 +1100 |
commit | 5c161653db3aa585f3e47a650ae177ba9ffb7232 (patch) | |
tree | 3eed0f4ee3c40748601cf3430f4b590afaef977c /arch/i386/cpu/start.S | |
parent | 8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899 (diff) | |
download | u-boot-imx-5c161653db3aa585f3e47a650ae177ba9ffb7232.zip u-boot-imx-5c161653db3aa585f3e47a650ae177ba9ffb7232.tar.gz u-boot-imx-5c161653db3aa585f3e47a650ae177ba9ffb7232.tar.bz2 |
x86: Change compiler options
Change to:
- reparam=3
- no-from-pointer
- no-stack-protector
- preferred-stack-boundary=2
- no-top-level-reorder
These options make the code a little smaller and faster
Diffstat (limited to 'arch/i386/cpu/start.S')
-rw-r--r-- | arch/i386/cpu/start.S | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S index f67a1b7..90dfd5d 100644 --- a/arch/i386/cpu/start.S +++ b/arch/i386/cpu/start.S @@ -149,16 +149,10 @@ stack_ok: wbinvd - /* Get upper memory limit */ - movl %esp, %ecx - subl $CONFIG_SYS_STACK_SIZE, %ecx + /* Set the upper memory limit parameter */ + movl %esp, %eax + subl $CONFIG_SYS_STACK_SIZE, %eax - /* Create a Stack Frame */ - pushl %ebp - movl %esp, %ebp - - /* stack_limit parameter */ - pushl %ecx call board_init_f /* Enter, U-boot! */ /* indicate (lack of) progress */ |