diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2009-08-23 12:59:46 +1000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-04 21:49:48 +0200 |
commit | cfb3a736ffcff3e3753b902cad536f22fcf8961d (patch) | |
tree | 719bb2dd234ae3f7ec35e3ade319fbb744f98db5 /board | |
parent | a3ab8caee696a1d53fc82fa321e2b2f179970168 (diff) | |
download | u-boot-imx-cfb3a736ffcff3e3753b902cad536f22fcf8961d.zip u-boot-imx-cfb3a736ffcff3e3753b902cad536f22fcf8961d.tar.gz u-boot-imx-cfb3a736ffcff3e3753b902cad536f22fcf8961d.tar.bz2 |
i386: Change inline asm global symbols to local
gcc 4.3.2 optimiser creates multiple copies of inline asm (who knows why)
Remove use of global names for labels to prevent 'symbol already defined'
errors
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/eNET/eNET.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index 57dd635..27dabaa 100644 --- a/board/eNET/eNET.c +++ b/board/eNET/eNET.c @@ -51,9 +51,9 @@ void init_sc520_enet (void) /* wait at least one millisecond */ asm("movl $0x2000,%%ecx\n" - "wait_loop: pushl %%ecx\n" + "0: pushl %%ecx\n" "popl %%ecx\n" - "loop wait_loop\n": : : "ecx"); + "loop 0b\n": : : "ecx"); /* turn on the SDRAM write buffer */ write_mmcr_byte(SC520_DBCTL, 0x11); |