summaryrefslogtreecommitdiff
path: root/board/eNET/eNET_start16.S
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:27 +1100
committerGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:27 +1100
commit88fa0a6eb906b532cd073b6e3d8f688c47404709 (patch)
tree051370dd80becb73110138d0eb39a0767bbb83a8 /board/eNET/eNET_start16.S
parent00940a229d564044d52a5449bce14090c7298f92 (diff)
downloadu-boot-imx-88fa0a6eb906b532cd073b6e3d8f688c47404709.zip
u-boot-imx-88fa0a6eb906b532cd073b6e3d8f688c47404709.tar.gz
u-boot-imx-88fa0a6eb906b532cd073b6e3d8f688c47404709.tar.bz2
x86: Remove usage of %ebp as a return pointer
Using %ebp as a return pointer prevents creating 'load anywhere' images
Diffstat (limited to 'board/eNET/eNET_start16.S')
-rw-r--r--board/eNET/eNET_start16.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/eNET/eNET_start16.S b/board/eNET/eNET_start16.S
index af2c132..06cfd55 100644
--- a/board/eNET/eNET_start16.S
+++ b/board/eNET/eNET_start16.S
@@ -65,8 +65,7 @@ board_init16:
movl $0x000000cb, %eax
outl %eax, %dx
- /* the return address is stored in bp */
- jmp *%bp
+ jmp board_init16_ret
.section .bios, "ax"
.code16