diff options
author | Shinya Kuribayashi <shinya.kuribayashi@necel.com> | 2007-11-19 11:14:16 +0900 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-11-19 21:49:51 +0100 |
commit | f8c320609366176b31104d9bf5e295232e1c7f1d (patch) | |
tree | fb998972a0dfef7001b9800ad4a350f0539167cb /board/gth2 | |
parent | e8da58f2bc092891e8cc92b927ed5c4bd0cb0cab (diff) | |
download | bootable_bootloader_goldelico_gta04-f8c320609366176b31104d9bf5e295232e1c7f1d.zip bootable_bootloader_goldelico_gta04-f8c320609366176b31104d9bf5e295232e1c7f1d.tar.gz bootable_bootloader_goldelico_gta04-f8c320609366176b31104d9bf5e295232e1c7f1d.tar.bz2 |
[MIPS] board/gth2/lowlevel_init.S: Fix a build warning
lowlevel_init.S: Assembler messages:
lowlevel_init.S:413: Warning: Pretending global symbol used as branch target is local.
Looking at codes, the `memtest' and `clearmem' are intentional mixed
use of `global symbols' and `label' for debugging purpose. To make it
build, just disable global-symbols-use for now. As a result `memtest'
still remains as unused, but leave it be...
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Diffstat (limited to 'board/gth2')
-rw-r--r-- | board/gth2/lowlevel_init.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/gth2/lowlevel_init.S b/board/gth2/lowlevel_init.S index 983ff70..eea378a 100644 --- a/board/gth2/lowlevel_init.S +++ b/board/gth2/lowlevel_init.S @@ -413,7 +413,9 @@ noCacheJump: j clearmem nop +#if 0 .globl memtest +#endif memtest: /* Fill memory with address */ li t0, 0x80000000 @@ -434,7 +436,9 @@ mt1: lw t2, 0(t0) bne t1, zero, mt1 nop nop +#if 0 .globl clearmem +#endif clearmem: /* Clear memory */ li t0, 0x80000000 |